(adjusted for your ip's of course)
Code:
sheevaplug-debian:~# ifconfig -a
eth0 Link encap:Ethernet HWaddr 00:50:43:01:5f:e8
inet addr:192.168.0.4 Bcast:192.168.0.255 Mask:255.255.255.0
UP BROADCAST RUNNING MULTICAST MTU:1500 Metric:1
RX packets:2331862 errors:0 dropped:0 overruns:0 frame:0
TX packets:1238587 errors:0 dropped:0 overruns:0 carrier:0
collisions:0 txqueuelen:1000
RX bytes:2749947533 (2.5 GiB) TX bytes:575129669 (548.4 MiB)
Interrupt:11
eth1 Link encap:Ethernet HWaddr 00:50:43:01:5f:e9
BROADCAST MULTICAST MTU:1500 Metric:1
RX packets:0 errors:0 dropped:0 overruns:0 frame:0
TX packets:0 errors:0 dropped:0 overruns:0 carrier:0
collisions:0 txqueuelen:1000
RX bytes:0 (0.0 B) TX bytes:0 (0.0 B)
Interrupt:15
lo Link encap:Local Loopback
inet addr:127.0.0.1 Mask:255.0.0.0
UP LOOPBACK RUNNING MTU:16436 Metric:1
RX packets:319156811 errors:0 dropped:0 overruns:0 frame:0
TX packets:319156811 errors:0 dropped:0 overruns:0 carrier:0
collisions:0 txqueuelen:0
RX bytes:1512842036 (1.4 GiB) TX bytes:1512842036 (1.4 GiB)
sheevaplug-debian:~# cat /etc/resolv.conf
nameserver 192.168.0.1
sheevaplug-debian:~# route -n
Kernel IP routing table
Destination Gateway Genmask Flags Metric Ref Use Iface
192.168.0.0 0.0.0.0 255.255.255.0 U 0 0 0 eth0
0.0.0.0 192.168.0.1 0.0.0.0 UG 0 0 0 eth0
eth0 Link encap:Ethernet HWaddr 00:50:43:01:5f:e8
inet addr:192.168.0.4 Bcast:192.168.0.255 Mask:255.255.255.0
UP BROADCAST RUNNING MULTICAST MTU:1500 Metric:1
RX packets:2331862 errors:0 dropped:0 overruns:0 frame:0
TX packets:1238587 errors:0 dropped:0 overruns:0 carrier:0
collisions:0 txqueuelen:1000
RX bytes:2749947533 (2.5 GiB) TX bytes:575129669 (548.4 MiB)
Interrupt:11
eth1 Link encap:Ethernet HWaddr 00:50:43:01:5f:e9
BROADCAST MULTICAST MTU:1500 Metric:1
RX packets:0 errors:0 dropped:0 overruns:0 frame:0
TX packets:0 errors:0 dropped:0 overruns:0 carrier:0
collisions:0 txqueuelen:1000
RX bytes:0 (0.0 B) TX bytes:0 (0.0 B)
Interrupt:15
lo Link encap:Local Loopback
inet addr:127.0.0.1 Mask:255.0.0.0
UP LOOPBACK RUNNING MTU:16436 Metric:1
RX packets:319156811 errors:0 dropped:0 overruns:0 frame:0
TX packets:319156811 errors:0 dropped:0 overruns:0 carrier:0
collisions:0 txqueuelen:0
RX bytes:1512842036 (1.4 GiB) TX bytes:1512842036 (1.4 GiB)
sheevaplug-debian:~# cat /etc/resolv.conf
nameserver 192.168.0.1
sheevaplug-debian:~# route -n
Kernel IP routing table
Destination Gateway Genmask Flags Metric Ref Use Iface
192.168.0.0 0.0.0.0 255.255.255.0 U 0 0 0 eth0
0.0.0.0 192.168.0.1 0.0.0.0 UG 0 0 0 eth0
HTH, Jim




