Network routing help
Posted: Tue May 22, 2007 11:44 am
Code: Select all
w3style.co.uk:~# ifconfig
eth0 Link encap:Ethernet HWaddr 02:16:3E:A4:5E:75
inet addr:217.147.94.117 Bcast:217.147.94.255 Mask:255.255.255.0
inet6 addr: fe80::16:3eff:fea4:5e75/64 Scope:Link
UP BROADCAST RUNNING MULTICAST MTU:1500 Metric:1
RX packets:1417 errors:0 dropped:0 overruns:0 frame:0
TX packets:1334 errors:0 dropped:0 overruns:0 carrier:0
collisions:0 txqueuelen:1000
RX bytes:164907 (161.0 KiB) TX bytes:812279 (793.2 KiB)
eth0:0 Link encap:Ethernet HWaddr 02:16:3E:A4:5E:75
inet addr:217.147.94.71 Bcast:217.147.94.255 Mask:255.255.255.0
UP BROADCAST RUNNING MULTICAST MTU:1500 Metric:1
eth0:1 Link encap:Ethernet HWaddr 02:16:3E:A4:5E:75
inet addr:217.147.94.70 Bcast:217.147.94.255 Mask:255.255.255.0
UP BROADCAST RUNNING MULTICAST MTU:1500 Metric:1
eth0:2 Link encap:Ethernet HWaddr 02:16:3E:A4:5E:75
inet addr:217.147.94.69 Bcast:217.147.94.255 Mask:255.255.255.0
UP BROADCAST RUNNING MULTICAST MTU:1500 Metric:1
lo Link encap:Local Loopback
inet addr:127.0.0.1 Mask:255.0.0.0
inet6 addr: ::1/128 Scope:Host
UP LOOPBACK RUNNING MTU:16436 Metric:1
RX packets:176091 errors:0 dropped:0 overruns:0 frame:0
TX packets:176091 errors:0 dropped:0 overruns:0 carrier:0
collisions:0 txqueuelen:0
RX bytes:100342245 (95.6 MiB) TX bytes:100342245 (95.6 MiB)
w3style.co.uk:~# route -n
Kernel IP routing table
Destination Gateway Genmask Flags Metric Ref Use Iface
217.147.94.0 0.0.0.0 255.255.255.0 U 0 0 0 eth0
0.0.0.0 217.147.94.1 0.0.0.0 UG 0 0 0 eth0
0.0.0.0 217.147.94.1 0.0.0.0 UG 0 0 0 eth0
0.0.0.0 217.147.94.1 0.0.0.0 UG 0 0 0 eth0
0.0.0.0 217.147.94.1 0.0.0.0 UG 0 0 0 eth0
w3style.co.uk:~#Would this work?
Code: Select all
route add default gw 217.147.94.117