Re: Virtualization Networking

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]




> -----Original Message-----
> From: centos-bounces@xxxxxxxxxx [mailto:centos-bounces@xxxxxxxxxx] On
> Behalf Of Gordon Messmer
> Sent: Monday, October 3, 2016 4:25 PM
> To: CentOS mailing list
> Subject: Re:  Virtualization Networking
> 
> On 10/03/2016 04:54 AM, TE Dukes wrote:
> > I can get the guest to access the internet but have tried every was
> > possible to be able to access the guest from the LAN or even the host.
> > Nothing I have tried works.
> >
> > The only thing all documentation leaves out is how to set up the guest
> > networking during the install.
> 
> 
> "All documentation" doesn't leave out this information.  The links I sent
> earlier clearly and specifically document the process for setting up a
network
> bridge, which you need to do if you want to access your VM from the LAN.
> 
> If you need help, you need to provide more information than "I can't get
this
> to work" and "I've tried everything."  Those don't tell us anything about
the
> state of your system.  Useful information would include: your
configuration
> files (/etc/sysconfig/network-scripts/ifcfg-*), the output of "ip link
show"
> and "ip addr show", the output of "brctl show", and maybe the output of
> "virsh iface-list".
> 

I posted some files previously but that was like 20 or so installs ago. I
don't know the files you need.

For this installation:

/etc/sysconfig/ifcfg-eth0

NAME="eth0"
BOOTPROTO=none
GATEWAY=192.168.1.1
NM_CONTROLLED=no
HWADDR=44:37:E6:53:1E:E2
MACADDR=""
IPV6INIT=no
DEVICE=eth0
NETMASK=255.255.255.0
MTU=""
BROADCAST=192.168.1.255
IPADDR=192.168.1.110
NETWORK=192.168.1.0
ONBOOT=yes
TYPE=Ethernet

/etc/sysconfig/ifcfg-eth1

GATEWAY=192.168.1.1
NAME=""
BOOTPROTO=none
NM_CONTROLLED=no
MACADDR=""
IPV6INIT=no
DEVICE=eth1
NETMASK=255.255.255.0
MTU=""
BROADCAST=255.255.255.255
IPADDR=192.168.0.111
NETWORK=192.168.0.0
ONBOOT=yes

/etc/sysconfig/ifcfg-lo

GATEWAY=192.168.1.1
NAME=loopback
BOOTPROTO=none
MACADDR=""
IPV6INIT=no
DEVICE=lo
NETMASK=255.0.0.0
MTU=""
BROADCAST=127.255.255.255
IPADDR=127.0.0.1
NETWORK=127.0.0.0
ONBOOT=yes

# ip link show

1: lo: <LOOPBACK,UP,LOWER_UP> mtu 65536 qdisc noqueue state UNKNOWN 
    link/loopback 00:00:00:00:00:00 brd 00:00:00:00:00:00
2: eth0: <BROADCAST,MULTICAST,UP,LOWER_UP> mtu 1500 qdisc pfifo_fast state
UP qlen 1000
    link/ether 44:37:e6:53:1e:e2 brd ff:ff:ff:ff:ff:ff
3: eth1: <BROADCAST,MULTICAST,UP,LOWER_UP> mtu 1500 qdisc pfifo_fast state
UP qlen 1000
    link/ether 00:1b:21:af:6d:22 brd ff:ff:ff:ff:ff:ff
4: vboxnet0: <BROADCAST,MULTICAST,UP> mtu 1500 qdisc pfifo_fast state
UNKNOWN qlen 1000
    link/ether 0a:00:27:00:00:00 brd ff:ff:ff:ff:ff:ff

Absolutely no clue on that!!

# ip addr show

1: lo: <LOOPBACK,UP,LOWER_UP> mtu 65536 qdisc noqueue state UNKNOWN 
    link/loopback 00:00:00:00:00:00 brd 00:00:00:00:00:00
    inet 127.0.0.1/8 scope host lo
    inet6 ::1/128 scope host 
       valid_lft forever preferred_lft forever
2: eth0: <BROADCAST,MULTICAST,UP,LOWER_UP> mtu 1500 qdisc pfifo_fast state
UP qlen 1000
    link/ether 44:37:e6:53:1e:e2 brd ff:ff:ff:ff:ff:ff
    inet 192.168.1.110/24 brd 192.168.1.255 scope global eth0
    inet6 fe80::4637:e6ff:fe53:1ee2/64 scope link 
       valid_lft forever preferred_lft forever
3: eth1: <BROADCAST,MULTICAST,UP,LOWER_UP> mtu 1500 qdisc pfifo_fast state
UP qlen 1000
    link/ether 00:1b:21:af:6d:22 brd ff:ff:ff:ff:ff:ff
    inet 192.168.0.111/24 brd 255.255.255.255 scope global eth1
    inet6 fe80::21b:21ff:feaf:6d22/64 scope link 
       valid_lft forever preferred_lft forever
4: vboxnet0: <BROADCAST,MULTICAST,UP> mtu 1500 qdisc pfifo_fast state
UNKNOWN qlen 1000
    link/ether 0a:00:27:00:00:00 brd ff:ff:ff:ff:ff:ff
    inet 192.168.56.1/24 brd 192.168.56.255 scope global vboxnet0

No clue on that one either

# brctl show

bridge name	bridge id		STP enabled	interfaces

# virsh iface-list

I have uninstalled all Centos kvm/virtualization packages and trying
Vitualbox.

Got home late this evening. I can un-install VB and re-install Centos
virtualization

TIA





_______________________________________________
CentOS mailing list
CentOS@xxxxxxxxxx
https://lists.centos.org/mailman/listinfo/centos



[Index of Archives]     [CentOS]     [CentOS Announce]     [CentOS Development]     [CentOS ARM Devel]     [CentOS Docs]     [CentOS Virtualization]     [Carrier Grade Linux]     [Linux Media]     [Asterisk]     [DCCP]     [Netdev]     [Xorg]     [Linux USB]
  Powered by Linux