after upgrading a system to 10.04, network connectivity is botched. i
haven't been using NetworkManager and so it is uninstalled. until i use
`sudo /etc/init.d/networking restart` connectivity to the internet
doesn't work
i have KVM installed so i have a couple extra interfaces. for some
reason the interface br0 is getting the LAN address that should usually
be assigned to eth0 and as you can see eth0 doesn't have any IP.:
--
ubuntu-users mailing list
ubuntu-users@lists.ubuntu.com
Modify settings or unsubscribe at: https://lists.ubuntu.com/mailman/listinfo/ubuntu-users
07-30-2011, 09:08 PM
Tom H
/etc/init.d/networking needs to be restarted
On Sat, Jul 30, 2011 at 4:50 PM, scar <scar@drigon.com> wrote:
>
> after upgrading a system to 10.04, network connectivity is botched. i
> haven't been using NetworkManager and so it is uninstalled. until i use
> `sudo /etc/init.d/networking restart` connectivity to the internet
> doesn't work
>
> i have KVM installed so i have a couple extra interfaces. for some
> reason the interface br0 is getting the LAN address that should usually
> be assigned to eth0 and as you can see eth0 doesn't have any IP:
>
> 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
> UP BROADCAST RUNNING MULTICAST MTU:1500 Metric:1
>
> eth0 Link encap:Ethernet HWaddr 00:24:8c:66:d9:b5
> UP BROADCAST RUNNING MULTICAST MTU:1500 Metric:1
>
> lo Link encap:Local Loopback
> inet addr:127.0.0.1 Mask:255.0.0.0
> UP LOOPBACK RUNNING MTU:16436 Metric:1
>
> virbr0 Link encap:Ethernet HWaddr ca:ae:03:45:a8:89
> inet addr:192.168.122.1 Bcast:192.168.122.255 Mask:255.255.255.0
> UP BROADCAST RUNNING MULTICAST MTU:1500 Metric:1
Please post "/etc/network/interfaces".
(With 10.04, you should use "[initctl] restart networking" or "service
networking restart".)
--
ubuntu-users mailing list
ubuntu-users@lists.ubuntu.com
Modify settings or unsubscribe at: https://lists.ubuntu.com/mailman/listinfo/ubuntu-users
07-30-2011, 09:09 PM
Avi Greenbury
/etc/init.d/networking needs to be restarted
scar wrote:
> after upgrading a system to 10.04, network connectivity is botched. i
> haven't been using NetworkManager and so it is uninstalled. until i
> use `sudo /etc/init.d/networking restart` connectivity to the internet
> doesn't work
>
> i have KVM installed so i have a couple extra interfaces. for some
> reason the interface br0 is getting the LAN address that should
> usually be assigned to eth0 and as you can see eth0 doesn't have any
> IP.:
What's the contents of your /etc/network/interfaces?
--
Avi
--
ubuntu-users mailing list
ubuntu-users@lists.ubuntu.com
Modify settings or unsubscribe at: https://lists.ubuntu.com/mailman/listinfo/ubuntu-users
07-30-2011, 09:28 PM
"compdoc"
/etc/init.d/networking needs to be restarted
You can see that br0 and eth0 have the same MAC address, and so br0 is a
bridge that the kvm guests can use to reach the lan. You should be able to
use the bridge as well, although I don't do it that way. I always use a
bridge with a 2nd, separate ethernet card that the guests use to themsleves.
The mask is an odd number, but maybe you have set it that way for a reason.
--
ubuntu-users mailing list
ubuntu-users@lists.ubuntu.com
Modify settings or unsubscribe at: https://lists.ubuntu.com/mailman/listinfo/ubuntu-users
07-30-2011, 10:45 PM
scar
/etc/init.d/networking needs to be restarted
Tom H @ 07/30/2011 02:08 PM:
> Please post "/etc/network/interfaces".
$ cat /etc/network/interfaces
auto lo
iface lo inet loopback
auto eth0
iface eth0 inet dhcp
auto br0
iface br0 inet dhcp
bridge_ports eth0
bridge_stp off
bridge_fd 0
bridge_maxwait 0
> (With 10.04, you should use "[initctl] restart networking" or "service
> networking restart".)
i've tried `service networking restart` but it doesn't work properly, i
believe it's a documented bug. i'll try the initctl command next time
and see how that works.
--
ubuntu-users mailing list
ubuntu-users@lists.ubuntu.com
Modify settings or unsubscribe at: https://lists.ubuntu.com/mailman/listinfo/ubuntu-users
07-31-2011, 07:27 AM
Nils Kassube
/etc/init.d/networking needs to be restarted
scar wrote:
> $ cat /etc/network/interfaces
> auto lo
> iface lo inet loopback
>
> auto eth0
> iface eth0 inet dhcp
>
> auto br0
> iface br0 inet dhcp
> bridge_ports eth0
> bridge_stp off
> bridge_fd 0
> bridge_maxwait 0
Some years ago I had a setup with a bridge which didn't work until I
removed the "auto eth0" and "iface eth0 inet dhcp" lines.
Nils
--
ubuntu-users mailing list
ubuntu-users@lists.ubuntu.com
Modify settings or unsubscribe at: https://lists.ubuntu.com/mailman/listinfo/ubuntu-users
07-31-2011, 10:44 AM
Tom H
/etc/init.d/networking needs to be restarted
On Sat, Jul 30, 2011 at 6:45 PM, scar <scar@drigon.com> wrote:
> Tom H @ 07/30/2011 02:08 PM:
>>
>> Please post "/etc/network/interfaces".
>
> $ cat /etc/network/interfaces
> auto lo
> iface lo inet loopback
>
> auto eth0
> iface eth0 inet dhcp
>
> auto br0
> iface br0 inet dhcp
> * * * *bridge_ports eth0
> * * * *bridge_stp off
> * * * *bridge_fd 0
> * * * *bridge_maxwait 0
>
>> (With 10.04, you should use "[initctl] restart networking" or "service
>> networking restart".)
>
> i've tried `service networking restart` but it doesn't work properly, i
> believe it's a documented bug. *i'll try the initctl command next time
> and see how that works.
You should have "iface eth0 inet manual" and not "iface eth0 inet dhcp".
What's the output of "ifconfig" and "netstat -rn" before and after
"/etc/init.d/networking restart"?
You're right. The correct upstart way of restarting a service doesn't
work for "networking". I've tried
service networking restart
service networking stop
restart networking
stop networking
initctl restart networking
initctl stop networking
and none of them work ("unknown instance" error)...
It looks (to me) like it's because upstart thinks that networking's
stopped ("status networking" returns "stop/waiting"). Nuts! Upstart
should be able to restart a service that's not a running daemon!
--
ubuntu-users mailing list
ubuntu-users@lists.ubuntu.com
Modify settings or unsubscribe at: https://lists.ubuntu.com/mailman/listinfo/ubuntu-users
07-31-2011, 05:18 PM
scar
/etc/init.d/networking needs to be restarted
Tom H @ 07/31/2011 03:44 AM:
> You should have "iface eth0 inet manual" and not "iface eth0 inet dhcp".
why's that? how will eth0 get an IP address then?
> What's the output of "ifconfig" and "netstat -rn" before and after
> "/etc/init.d/networking restart"?
i'll let you know ASAP
--
ubuntu-users mailing list
ubuntu-users@lists.ubuntu.com
Modify settings or unsubscribe at: https://lists.ubuntu.com/mailman/listinfo/ubuntu-users
07-31-2011, 05:23 PM
"compdoc"
/etc/init.d/networking needs to be restarted
>why's that? how will eth0 get an IP address then?
Typically, the bridge's adaptor isn't assigned an IP. I don't even assign an
IP to the bridge, but then I don't share bridges between guests and hosts,
which is also typical for servers.
--
ubuntu-users mailing list
ubuntu-users@lists.ubuntu.com
Modify settings or unsubscribe at: https://lists.ubuntu.com/mailman/listinfo/ubuntu-users
07-31-2011, 07:13 PM
Tom H
/etc/init.d/networking needs to be restarted
On Sun, Jul 31, 2011 at 1:18 PM, scar <scar@drigon.com> wrote:
> Tom H @ 07/31/2011 03:44 AM:
>> You should have "iface eth0 inet manual" and not "iface eth0 inet dhcp".
>
> why's that? *how will eth0 get an IP address then?
It's not necessary. The box uses the bridge. For example, I'm sure
that I could clone an Ubuntu VM, set up an (unnecessary) bridge on my
client this way, and use br0 as my NIC rather than eth0 without a
hitch.
>> What's the output of "ifconfig" and "netstat -rn" before and after
>> "/etc/init.d/networking restart"?
>
> i'll let you know ASAP
OK.
--
ubuntu-users mailing list
ubuntu-users@lists.ubuntu.com
Modify settings or unsubscribe at: https://lists.ubuntu.com/mailman/listinfo/ubuntu-users