New Installation Networking Issues

dal.01

New Member
Jan 6, 2012
16
0
1
Hello all again.

I have an issue with my networking on my proxmox box. I did a fresh install on a new hard drive. I have 1 on-board nic with IP of 10.10.1.7, which is the IP of the proxmox box. I am able to get to box via the web interface. When I log on either via ssh or the box itself, I can ping 1 computer 10.10.1.14. I cannot ping my gateway, 10.10.1.1, nor anyother address locally nor can I ping out to internet. Tried to ping google....no joy.

interface output:
Code:
~# cat /etc/network/interfaces

auto lo
iface lo inet loopback


auto vmbr0
iface vmbr0 inet static
        address 10.10.1.7
        netmask 255.255.255.0
        gateway 10.10.1.1
        bridge_ports eth0
        bridge_stp off
        bridge_fd 0

ifconfig -a
Code:
~# ifconfig -aeth0      Link encap:Ethernet  HWaddr c8:60:00:6a:bb:9e
          inet6 addr: fe80::ca60:ff:fe6a:bb9e/64 Scope:Link
          UP BROADCAST RUNNING MULTICAST  MTU:1500  Metric:1
          RX packets:6699 errors:0 dropped:0 overruns:0 frame:0
          TX packets:3779 errors:0 dropped:0 overruns:0 carrier:0
          collisions:0 txqueuelen:1000
          RX bytes:756491 (738.7 KiB)  TX bytes:964652 (942.0 KiB)
          Interrupt:36 Base address:0x6000


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:6886 errors:0 dropped:0 overruns:0 frame:0
          TX packets:6886 errors:0 dropped:0 overruns:0 carrier:0
          collisions:0 txqueuelen:0
          RX bytes:1399333 (1.3 MiB)  TX bytes:1399333 (1.3 MiB)


venet0    Link encap:UNSPEC  HWaddr 00-00-00-00-00-00-00-00-00-00-00-00-00-00-00-00
          inet6 addr: fe80::1/128 Scope:Link
          UP BROADCAST POINTOPOINT RUNNING NOARP  MTU:1500  Metric:1
          RX packets:0 errors:0 dropped:0 overruns:0 frame:0
          TX packets:0 errors:0 dropped:3 overruns:0 carrier:0
          collisions:0 txqueuelen:0
          RX bytes:0 (0.0 B)  TX bytes:0 (0.0 B)


vmbr0     Link encap:Ethernet  HWaddr c8:60:00:6a:bb:9e
          inet addr:10.10.1.7  Bcast:10.10.1.255  Mask:255.255.255.0
          inet6 addr: fe80::ca60:ff:fe6a:bb9e/64 Scope:Link
          UP BROADCAST RUNNING MULTICAST  MTU:1500  Metric:1
          RX packets:6659 errors:0 dropped:0 overruns:0 frame:0
          TX packets:3777 errors:0 dropped:0 overruns:0 carrier:0
          collisions:0 txqueuelen:0
          RX bytes:640116 (625.1 KiB)  TX bytes:964316 (941.7 KiB)

brctrl show:
Code:
~# brctl showbridge name     bridge id               STP enabled     interfaces
vmbr0           8000.c860006abb9e       no              eth0

Im a little fried right now. If I need to provide anything else please let me know.

*extra:
I have an additional 3 nics I would like to install into the new box. I have read that it is good practice to have each nic for a different pourpse. In my case I would like to have:

-eth0 (vmbr0) for proxmox
-eth1 (vmbr1) for virtual machines
-eth2 (vmbr2) for fault tolerance for vms

Since I cant even ping to gateway as it is now without fixing something, would this be possible after I can ping out onto the network?
 
Hello all again.

I have an issue with my networking on my proxmox box. I did a fresh install on a new hard drive. I have 1 on-board nic with IP of 10.10.1.7, which is the IP of the proxmox box. I am able to get to box via the web interface. When I log on either via ssh or the box itself, I can ping 1 computer 10.10.1.14. I cannot ping my gateway, 10.10.1.1, nor anyother address locally nor can I ping out to internet. Tried to ping google....no joy.

interface output:
Code:
~# cat /etc/network/interfaces

auto lo
iface lo inet loopback


auto vmbr0
iface vmbr0 inet static
        address 10.10.1.7
        netmask 255.255.255.0
        gateway 10.10.1.1
        bridge_ports eth0
        bridge_stp off
        bridge_fd 0

ifconfig -a
Code:
~# ifconfig -aeth0      Link encap:Ethernet  HWaddr c8:60:00:6a:bb:9e
          inet6 addr: fe80::ca60:ff:fe6a:bb9e/64 Scope:Link
          UP BROADCAST RUNNING MULTICAST  MTU:1500  Metric:1
          RX packets:6699 errors:0 dropped:0 overruns:0 frame:0
          TX packets:3779 errors:0 dropped:0 overruns:0 carrier:0
          collisions:0 txqueuelen:1000
          RX bytes:756491 (738.7 KiB)  TX bytes:964652 (942.0 KiB)
          Interrupt:36 Base address:0x6000


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:6886 errors:0 dropped:0 overruns:0 frame:0
          TX packets:6886 errors:0 dropped:0 overruns:0 carrier:0
          collisions:0 txqueuelen:0
          RX bytes:1399333 (1.3 MiB)  TX bytes:1399333 (1.3 MiB)


venet0    Link encap:UNSPEC  HWaddr 00-00-00-00-00-00-00-00-00-00-00-00-00-00-00-00
          inet6 addr: fe80::1/128 Scope:Link
          UP BROADCAST POINTOPOINT RUNNING NOARP  MTU:1500  Metric:1
          RX packets:0 errors:0 dropped:0 overruns:0 frame:0
          TX packets:0 errors:0 dropped:3 overruns:0 carrier:0
          collisions:0 txqueuelen:0
          RX bytes:0 (0.0 B)  TX bytes:0 (0.0 B)


vmbr0     Link encap:Ethernet  HWaddr c8:60:00:6a:bb:9e
          inet addr:10.10.1.7  Bcast:10.10.1.255  Mask:255.255.255.0
          inet6 addr: fe80::ca60:ff:fe6a:bb9e/64 Scope:Link
          UP BROADCAST RUNNING MULTICAST  MTU:1500  Metric:1
          RX packets:6659 errors:0 dropped:0 overruns:0 frame:0
          TX packets:3777 errors:0 dropped:0 overruns:0 carrier:0
          collisions:0 txqueuelen:0
          RX bytes:640116 (625.1 KiB)  TX bytes:964316 (941.7 KiB)

brctrl show:
Code:
~# brctl showbridge name     bridge id               STP enabled     interfaces
vmbr0           8000.c860006abb9e       no              eth0

Im a little fried right now. If I need to provide anything else please let me know.

*extra:
I have an additional 3 nics I would like to install into the new box. I have read that it is good practice to have each nic for a different pourpse. In my case I would like to have:

-eth0 (vmbr0) for proxmox
-eth1 (vmbr1) for virtual machines
-eth2 (vmbr2) for fault tolerance for vms

Since I cant even ping to gateway as it is now without fixing something, would this be possible after I can ping out onto the network?
Hi,
about don't reach the gateway: look with "tcpdump -i vmbr0 host 10.10.1.1" if you see outgoing icmp-traffic. I assume, that something on the gateway prevent the answers?
Other bridges can be configured, because you don't need IPs on the pve-host for that. It's enough if the VMs use the bridges for traffic.

Udo