Noh, kokeilin tuota yllämainittua ja kokeilin sitä myös eth1:elle ja otin uuden ifconfigin kun molemmat ovat dhcp:lla
Internet Systems Consortium DHCP Client V3.0.6
Copyright 2004-2007 Internet Systems Consortium.
All rights reserved.
For info, please visit
http://www.isc.org/sw/dhcp/Listening on LPF/eth0/00:1a:92:9b:20:91
Sending on LPF/eth0/00:1a:92:9b:20:91
Sending on Socket/fallback
DHCPDISCOVER on eth0 to 255.255.255.255 port 67 interval 4
DHCPDISCOVER on eth0 to 255.255.255.255 port 67 interval 11
DHCPDISCOVER on eth0 to 255.255.255.255 port 67 interval 14
DHCPDISCOVER on eth0 to 255.255.255.255 port 67 interval 2
No DHCPOFFERS received.
No working leases in persistent database - sleeping.
---------------------------------------------------------------------
There is already a pid file /var/run/dhclient.pid with pid 6214
killed old client process, removed PID file
Internet Systems Consortium DHCP Client V3.0.6
Copyright 2004-2007 Internet Systems Consortium.
All rights reserved.
For info, please visit
http://www.isc.org/sw/dhcp/Listening on LPF/eth1/00:1a:92:9b:25:cb
Sending on LPF/eth1/00:1a:92:9b:25:cb
Sending on Socket/fallback
DHCPDISCOVER on eth1 to 255.255.255.255 port 67 interval 5
DHCPDISCOVER on eth1 to 255.255.255.255 port 67 interval 9
DHCPDISCOVER on eth1 to 255.255.255.255 port 67 interval 14
DHCPDISCOVER on eth1 to 255.255.255.255 port 67 interval 3
No DHCPOFFERS received.
No working leases in persistent database - sleeping.
-----------------------------------------------------------------
There is already a pid file /var/run/dhclient.pid with pid 6327
killed old client process, removed PID file
Internet Systems Consortium DHCP Client V3.0.6
Copyright 2004-2007 Internet Systems Consortium.
All rights reserved.
For info, please visit
http://www.isc.org/sw/dhcp/Listening on LPF/eth1/00:1a:92:9b:25:cb
Sending on LPF/eth1/00:1a:92:9b:25:cb
Sending on Socket/fallback
DHCPDISCOVER on eth1 to 255.255.255.255 port 67 interval 7
DHCPDISCOVER on eth1 to 255.255.255.255 port 67 interval 16
DHCPDISCOVER on eth1 to 255.255.255.255 port 67 interval 8
No DHCPOFFERS received.
No working leases in persistent database - sleeping.
----------------------------------------------------------------
eth0 Link encap:Ethernet HWaddr 00:1a:92:9b:20:91
inet6 addr: fe80::21a:92ff:fe9b:2091/64 Scope:Link
UP BROADCAST RUNNING 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:14751 (14.4 KB)
Interrupt:216 Base address:0xc000
eth1 Link encap:Ethernet HWaddr 00:1a:92:9b:25:cb
inet6 addr: fe80::21a:92ff:fe9b:25cb/64 Scope:Link
UP BROADCAST RUNNING 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:17959 (17.5 KB)
Interrupt:215 Base address:0xa000
eth0:avahi Link encap:Ethernet HWaddr 00:1a:92:9b:20:91
inet addr:169.254.6.101 Bcast:169.254.255.255 Mask:255.255.0.0
UP BROADCAST RUNNING MULTICAST MTU:1500 Metric:1
Interrupt:216 Base address:0xc000
eth1:avahi Link encap:Ethernet HWaddr 00:1a:92:9b:25:cb
inet addr:169.254.7.155 Bcast:169.254.255.255 Mask:255.255.0.0
UP BROADCAST RUNNING MULTICAST MTU:1500 Metric:1
Interrupt:215 Base address:0xa000
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:2616 errors:0 dropped:0 overruns:0 frame:0
TX packets:2616 errors:0 dropped:0 overruns:0 carrier:0
collisions:0 txqueuelen:0
RX bytes:135752 (132.5 KB) TX bytes:135752 (132.5 KB)