network not working on a Cloudmin machine

3 posts / 0 new
Last post
#1 Sun, 08/28/2016 - 19:07
bislinks
bislinks's picture

network not working on a Cloudmin machine

System: CentOS 7. Has 2 NICs. NIC eno1 was working/active for Virtualmin.

I was trying to create/activate Bridge br0 with NIC eno1. Obviously, i did something wrong, now the network itself is down completely. Unable install/update anything.

result of service network restart : Failed to start LSB: Bring up/down networking.

Result of ifup /etc/sysconfig/network-scripts/ifcfg-eno1 Error: Connection activation failed: Master device br0 unmanaged or not available for activation

For now, I am able to access the machine via second NIC eno2, locally. Even with this connection on/working, unable to install/update anything.

Able to access Cloudmin server locally via 192.168.1.115. Recheck Configuration gave no error: But noted that the 'detected external IP address matches' message was absent.

Help! I am stuck....

Update: I do not get that error when I do 'service network restart' that I got before. But, still no internet connection.

This is what I get when I do 'wget google.com':: wget google.com --2016-08-29 11:33:43-- http://google.com/ Resolving google.com (google.com)... 216.58.194.78, 2607:f8b0:4000:80d::200e Connecting to google.com (google.com)|216.58.194.78|:80... failed: No route to host. Connecting to google.com (google.com)|2607:f8b0:4000:80d::200e|:80... failed: Network is unreachable.

Mon, 08/29/2016 - 13:30
andreychek

Howdy,

Hmm, what output do you receive if you run the command "/sbin/ifconfig" on the host?

Also, note that you may want to consider filing this as a support request using the Support link above, then Jamie and I could better give you a hand there (he doesn't monitor the Forums, and I receive faster notifications from the support tracker).

-Eric

Tue, 08/30/2016 - 16:18
scotwnw

Not sure about centOS but in Ubuntu here's working cfg for /etc/network/interfaces for a br0 bridge with ipv4 and ipv6. Maybe give you an idea whats missing. There should be nothing in interfaces cfg referencing eno1 if thats to be the bridged connection.

auto br0
iface br0 inet static
        address x.x.x.186
        netmask x.x.x.248
        broadcast x.x.x.191
        network x.x.x.184
        gateway x.x.x.185
        dns-nameservers x.x.x.186 x.x.x.187 x.x.x.3
        dns-search sitename..com sva.sitename.com
        bridge_ports eth0
        bridge_stp off
        bridge_fd 9
        bridge_maxwait 0
        bridge_hello 2
        bridge_maxage 12
        post-up ip link set br0 address bc:ae:c5:55:c3:95
        post-up iptables-restore < /etc/iptables.up.rules

iface br0 inet6 static
        pre-up /sbin/modprobe -q ipv6 ; /bin/true
        address xxx:xxxx:xxxx:xxxx::2
        netmask 64
        up ifconfig br0 inet6 add xxx:xxxx:xxxx:xxxx::102/64
        up ifconfig br0 inet6 add xxx:xxxx:xxxx:xxxx::103/64
        up ifconfig br0 inet6 add xxx:xxxx:xxxx:xxxx::101/64
        up ifconfig br0 inet6 add xxx:xxxx:xxxx:xxxx::104/64
        gateway xxx:xxxx:xxxx:xxxx::1
Topic locked