|
From: drew e. <dre...@gm...> - 2007-05-26 18:10:17
|
Got it. Deep down in the configuration of a virtual switch there is a security feature that by default prohibits promiscuos mode and you have to find it and set it to allow promiscuous mode before bridging will work. I wonder what the next roadblock will be in this project. On 5/26/07, drew einhorn <dre...@gm...> wrote: > I seem to be running into one problem after another. > > Eventually I will be doing NAT to map high ports (50000+) > to well known ports (ssh, http, etc.)on different VMs. > > But I want to start simple and just bridge eth0 and eth1. > > It looks to me like I have it set up correctly, > but I don't see any traffic flowing through the bridge. > > I have vmware network: > > Public1 connected to a 3-bit public subnet x.x.x.x/29 via eth0 > > Private1 is connected to 10.0.0.0/8 via eth1, this will eventually > be subnetted, and > a couple different subnets will share the same interface, but > I'm saving all that for a bit later after I get the basics working. > > We will only have a few public ip numbers, and a lot of VMs to connect to. > > # cat /etc/sysconfig/nic/ifcfg-eth0 > DEVICE=eth0 > ONBOOT=yes > MODULE="vmxnet" > DHCP=no > IP=0.0.0.0 > > # cat /etc/sysconfig/nic/ifcfg-eth1 > DEVICE=eth1 > ONBOOT=yes > MODULE="vmxnet" > DHCP=no > IP=0.0.0.0 > > # cat /etc/sysconfig/nic/ifcfg-br0 > DEVICE=br0 > ONBOOT=yes > MODULE=bridge > DHCP=no > IP=10.0.0.13 > NETMASK=255.0.0.0 > BROADCAST=10.255.255.255 > BR_IF="eth0 eth1" > > # ifconfig eth0 > eth0 Link encap:Ethernet HWaddr 00:0C:29:0F:EF:F0 > UP BROADCAST RUNNING MULTICAST MTU:1500 Metric:1 > RX packets:0 errors:0 dropped:0 overruns:0 frame:0 > TX packets:0 errors:0 dropped:0 overruns:0 carrier:0 > collisions:0 txqueuelen:1000 > RX bytes:0 (0.0 b) TX bytes:0 (0.0 b) > Interrupt:18 Base address:0x10a4 > > #ifconfig eth1 > eth1 Link encap:Ethernet HWaddr 00:0C:29:0F:EF:FA > UP BROADCAST RUNNING MULTICAST MTU:1500 Metric:1 > RX packets:12 errors:0 dropped:0 overruns:0 frame:0 > TX packets:0 errors:0 dropped:0 overruns:0 carrier:0 > collisions:0 txqueuelen:1000 > RX bytes:720 (720.0 b) TX bytes:0 (0.0 b) > Interrupt:19 Base address:0x1424 > > #ifconfig br0 > br0 Link encap:Ethernet HWaddr 00:0C:29:0F:EF:F0 > inet addr:10.0.0.13 Bcast:10.255.255.255 Mask:255.0.0.0 > UP BROADCAST RUNNING MULTICAST MTU:1500 Metric:1 > RX packets:0 errors:0 dropped:0 overruns:0 frame:0 > TX packets:0 errors:0 dropped:0 overruns:0 carrier:0 > collisions:0 txqueuelen:0 > RX bytes:0 (0.0 b) TX bytes:0 (0.0 b) > > Interfaces are up, but not packets are flowing through them. > > Is there a firewall somewhere I'm not aware of. Or am I doing something > stupid. It wouldn't be the first time. > > -- > Drew Einhorn > -- Drew Einhorn |