networking hosed after upgrading to 10.04
scar
scar at drigon.com
Tue May 31 18:30:07 UTC 2011
-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA256
compdoc @ 05/31/2011 11:13 AM:
> >eth0 has always been setup as DHCP and has
>> always have IP address of 192.168.1.139
>
> Can you ping 192.168.1.1?
>
> I have two qemu-kvm servers and your /etc/network/interfaces file is almost
> the same as mine. Main difference is, I use separate nics for the bridges.
> But its ok to use just one nic.
>
> Does the VM obtain an ip address?
guys, i've kind of made some progress, but still need some fine-tuning.
after removing NM, i was still bothered that 'service networking
restart' was producing the 'Unknown instance' error. i found that i
instead had to use '/etc/init.d/networking restart'. i thought that
upstart had replaced the init.d scripts?
so, when i ran that, it said i needed to change ifupdown=false in
nm-system-settings.conf, so i did. then i restarted networking again
using the init.d script and lo and behold i can access the internet.
now ifconfig is not listing an IP address for eth0 but it still has one
for br0 which seems strange to me.
also, upon rebooting the system, networking doesn't seem to work until i
restart it with the init.d script. i noticed that, before i restarted
networking, both eth0 and br0 had an IP address of 192.168.1.139.
my VM grabs an IP address but i noticed it is something like
192.168.122.X which seems to correspond to the vibr0 interface, although
i had thought that, by setting up a bridge, it was supposed to obtain an
address on the same local networking, i.e. 192.168.1.X. however, my VM
can also access the internet fine.
like i said there still seems to be some fine tuning needed.
output after restarting networking:
$ ifconfig
br0 Link encap:Ethernet HWaddr 00:24:8c:66:d9:b5
inet addr:192.168.1.139 Bcast:192.168.1.255 Mask:255.255.254.0
inet6 addr: fe80::224:8cff:fe66:d9b5/64 Scope:Link
UP BROADCAST RUNNING MULTICAST MTU:1500 Metric:1
RX packets:1761 errors:0 dropped:0 overruns:0 frame:0
TX packets:1645 errors:0 dropped:0 overruns:0 carrier:0
collisions:0 txqueuelen:0
RX bytes:1309435 (1.3 MB) TX bytes:815434 (815.4 KB)
eth0 Link encap:Ethernet HWaddr 00:24:8c:66:d9:b5
inet6 addr: fe80::224:8cff:fe66:d9b5/64 Scope:Link
UP BROADCAST RUNNING MULTICAST MTU:1500 Metric:1
RX packets:2060 errors:0 dropped:0 overruns:0 frame:0
TX packets:1958 errors:0 dropped:0 overruns:0 carrier:0
collisions:0 txqueuelen:1000
RX bytes:1360132 (1.3 MB) TX bytes:844769 (844.7 KB)
Interrupt:28 Base address:0xc000
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:231 errors:0 dropped:0 overruns:0 frame:0
TX packets:231 errors:0 dropped:0 overruns:0 carrier:0
collisions:0 txqueuelen:0
RX bytes:19383 (19.3 KB) TX bytes:19383 (19.3 KB)
virbr0 Link encap:Ethernet HWaddr aa:8f:bc:d2:ea:51
inet addr:192.168.122.1 Bcast:192.168.122.255 Mask:255.255.255.0
inet6 addr: fe80::a88f:bcff:fed2:ea51/64 Scope:Link
UP BROADCAST RUNNING MULTICAST MTU:1500 Metric:1
RX packets:0 errors:0 dropped:0 overruns:0 frame:0
TX packets:87 errors:0 dropped:0 overruns:0 carrier:0
collisions:0 txqueuelen:0
RX bytes:0 (0.0 B) TX bytes:12519 (12.5 KB)
$
-----BEGIN PGP SIGNATURE-----
iEYEAREIAAYFAk3lM60ACgkQXhfCJNu98qAFFQCgpMWE0P1PbJl5ttX7dvlOxPCc
Z+UAniQ+Y/q3lwDVegS4CFQzvnmcepfh
=5a1b
-----END PGP SIGNATURE-----
More information about the ubuntu-users
mailing list