Konfiguration direkt nach dem Boot:
[code]# ip addr
1: lo: <LOOPBACK,UP,LOWER_UP> mtu 65536 qdisc noqueue state UNKNOWN
link/loopback 00:00:00:00:00:00 brd 00:00:00:00:00:00
inet 127.0.0.1/8 scope host lo
valid_lft forever preferred_lft forever
inet6 ::1/128 scope host
valid_lft forever preferred_lft forever
2: peth0: <BROADCAST,MULTICAST,UP,LOWER_UP> mtu 1500 qdisc pfifo_fast master eth0 state UP qlen 1000
link/ether 00:30:48:35:cf:52 brd ff:ff:ff:ff:ff:ff
inet6 fe80::230:48ff:fe35:cf52/64 scope link
valid_lft forever preferred_lft forever
3: eth1: <NO-CARRIER,BROADCAST,MULTICAST,UP> mtu 1500 qdisc pfifo_fast state DOWN qlen 1000
link/ether 00:30:48:35:cf:53 brd ff:ff:ff:ff:ff:ff
inet 169.254.78.94/16 brd 169.254.255.255 scope global eth1
valid_lft forever preferred_lft forever
4: eth0: <BROADCAST,MULTICAST,UP,LOWER_UP> mtu 1500 qdisc noqueue state UP
link/ether 00:30:48:35:cf:52 brd ff:ff:ff:ff:ff:ff
inet 10.10.1.2/16 brd 10.10.255.255 scope global eth0
valid_lft forever preferred_lft forever
inet 192.168.0.3/24 brd 192.168.0.255 scope global eth0:0
valid_lft forever preferred_lft forever
inet6 fe80::230:48ff:fe35:cf52/64 scope link
valid_lft forever preferred_lft forever
route -n
Kernel-IP-Routentabelle
Ziel Router Genmask Flags Metric Ref Use Iface
10.10.0.0 0.0.0.0 255.255.0.0 U 0 0 0 eth0
169.254.0.0 0.0.0.0 255.255.0.0 U 0 0 0 eth1
192.168.0.0 0.0.0.0 255.255.255.0 U 0 0 0 eth0[/code]
Manuelles Hinzufügen der Route:
# route add default gw 192.168.0.253
Konfiguration nach dem Hinzufügen:
[code]# ip addr
1: lo: <LOOPBACK,UP,LOWER_UP> mtu 65536 qdisc noqueue state UNKNOWN
link/loopback 00:00:00:00:00:00 brd 00:00:00:00:00:00
inet 127.0.0.1/8 scope host lo
valid_lft forever preferred_lft forever
inet6 ::1/128 scope host
valid_lft forever preferred_lft forever
2: peth0: <BROADCAST,MULTICAST,UP,LOWER_UP> mtu 1500 qdisc pfifo_fast master eth0 state UP qlen 1000
link/ether 00:30:48:35:cf:52 brd ff:ff:ff:ff:ff:ff
inet6 fe80::230:48ff:fe35:cf52/64 scope link
valid_lft forever preferred_lft forever
3: eth1: <NO-CARRIER,BROADCAST,MULTICAST,UP> mtu 1500 qdisc pfifo_fast state DOWN qlen 1000
link/ether 00:30:48:35:cf:53 brd ff:ff:ff:ff:ff:ff
inet 169.254.78.94/16 brd 169.254.255.255 scope global eth1
valid_lft forever preferred_lft forever
4: eth0: <BROADCAST,MULTICAST,UP,LOWER_UP> mtu 1500 qdisc noqueue state UP
link/ether 00:30:48:35:cf:52 brd ff:ff:ff:ff:ff:ff
inet 10.10.1.2/16 brd 10.10.255.255 scope global eth0
valid_lft forever preferred_lft forever
inet 192.168.0.3/24 brd 192.168.0.255 scope global eth0:0
valid_lft forever preferred_lft forever
inet6 fe80::230:48ff:fe35:cf52/64 scope link
valid_lft forever preferred_lft forever
route -n
Kernel-IP-Routentabelle
Ziel Router Genmask Flags Metric Ref Use Iface
0.0.0.0 192.168.0.253 0.0.0.0 UG 0 0 0 eth0
10.10.0.0 0.0.0.0 255.255.0.0 U 0 0 0 eth0
169.254.0.0 0.0.0.0 255.255.0.0 U 0 0 0 eth1
192.168.0.0 0.0.0.0 255.255.255.0 U 0 0 0 eth0[/code]
Ich freue mich auf Ihre Rückmeldung.