laurence@laurence-desktop:~$ sudo ifconfig
eth0 Link encap:Ethernet HWaddr 00:18:F3:FD:94:D2
inet addr:58.104.55.105 Bcast:58.104.55.255 Mask:255.255.255.0
inet6 addr: fe80::218:f3ff:fefd:94d2/64 Scope:Link
UP BROADCAST RUNNING MULTICAST MTU:1500 Metric:1
RX packets:21 errors:0 dropped:0 overruns:0 frame:0
TX packets:15 errors:0 dropped:0 overruns:0 carrier:0
collisions:0 txqueuelen:1000
RX bytes:4790 (4.6 KiB) TX bytes:2234 (2.1 KiB)
Interrupt:21 Base address:0xb400
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:2 errors:0 dropped:0 overruns:0 frame:0
TX packets:2 errors:0 dropped:0 overruns:0 carrier:0
collisions:0 txqueuelen:0
RX bytes:100 (100.0 b) TX bytes:100 (100.0 b)
laurence@laurence-desktop:~$
laurence@laurence-desktop:~$ sudo cat /etc/network/interfaces
auto lo
iface lo inet loopback
auto eth2
iface eth2 inet dhcp
auto ath0
iface ath0 inet dhcp
auto wlan0
iface wlan0 inet dhcp
iface eth0 inet dhcp
auto eth0
laurence@laurence-desktop:~$
laurence@laurence-desktop:~$ sudo ifdown eth0
Password:
There is already a pid file /var/run/dhclient.eth0.pid with pid 5181
killed old client process, removed PID file
Internet Systems Consortium DHCP Client V3.0.4
Copyright 2004-2006 Internet Systems Consortium.
All rights reserved.
For info, please visit
http://www.isc.org/sw/dhcp/
Listening on LPF/eth0/00:18:f3:fd:94:d2
Sending on LPF/eth0/00:18:f3:fd:94:d2
Sending on Socket/fallback
DHCPRELEASE on eth0 to 10.1.1.1 port 67
send_packet: Network is unreachable
send_packet: please consult README file regarding broadcast address.
laurence@laurence-desktop:~$
laurence@laurence-desktop:~$ sudo dhclient eth0
Internet Systems Consortium DHCP Client V3.0.4
Copyright 2004-2006 Internet Systems Consortium.
All rights reserved.
For info, please visit
http://www.isc.org/sw/dhcp/
Listening on LPF/eth0/00:18:f3:fd:94:d2
Sending on LPF/eth0/00:18:f3:fd:94:d2
Sending on Socket/fallback
DHCPDISCOVER on eth0 to 255.255.255.255 port 67 interval 4
DHCPOFFER from 10.1.1.1
DHCPREQUEST on eth0 to 255.255.255.255 port 67
DHCPACK from 10.1.1.1
SIOCADDRT: Network is unreachable
bound to 58.104.55.105 -- renewal in 57 seconds.
laurence@laurence-desktop:~$