Hello.
On the router/gateway (separate computer) I have an Intel 82576 Gigabit Network Connection card. This card has 4 Ethenert slots.
For a long time, one Ethernet slot was used. Today, I wanted to compare it into bridge mode.
I started with the last slot and I've bundled it with the previous. Appropriately igb3 with igb2 with igb1.
Below is the config:
First I checked statically on the system on which it runs, hidden behind NAT. By setting the network gateway mask and DNS by hand. It worked. There was and continues to be a connection to sites through the browser from each subsequent slot. The problems started when I wanted to attach the last interface called igb0. On this interface there was a NAT network set up, which I have used until today.
This igb0 interface had an adress
Of course, in /etc/rc.conf I binded the entry for the address of this interface. And then I made sure that everything was credited correctly. And whether the network card is added to the bridge.
The definition of the problem is that:
The bridge setting, along with the network card on which the network was previously defined, cuts off the internal network from the Internet. It threw away connections on all slots. The computer behind the nat showed a connection, but no website can be displayed from any slot. It was also impossible to log in from the console via SSH from any slot. It made it all seem as if something was blocking the connections.
On the router/gateway (separate computer) I have an Intel 82576 Gigabit Network Connection card. This card has 4 Ethenert slots.
Code:
root@router:~ # pciconf -lv | grep -A1 -B3 network
igb0@pci0:3:0:0: class=0x020000 rev=0x01 hdr=0x00 vendor=0x8086 device=0x10e8 subvendor=0x8086 subdevice=0xa02c
vendor = 'Intel Corporation'
device = '82576 Gigabit Network Connection'
class = network
subclass = ethernet
igb1@pci0:3:0:1: class=0x020000 rev=0x01 hdr=0x00 vendor=0x8086 device=0x10e8 subvendor=0x8086 subdevice=0xa02c
vendor = 'Intel Corporation'
device = '82576 Gigabit Network Connection'
class = network
subclass = ethernet
igb2@pci0:4:0:0: class=0x020000 rev=0x01 hdr=0x00 vendor=0x8086 device=0x10e8 subvendor=0x8086 subdevice=0xa02c
vendor = 'Intel Corporation'
device = '82576 Gigabit Network Connection'
class = network
subclass = ethernet
igb3@pci0:4:0:1: class=0x020000 rev=0x01 hdr=0x00 vendor=0x8086 device=0x10e8 subvendor=0x8086 subdevice=0xa02c
vendor = 'Intel Corporation'
device = '82576 Gigabit Network Connection'
class = network
subclass = ethernet
re0@pci0:5:0:0: class=0x020000 rev=0x0c hdr=0x00 vendor=0x10ec device=0x8168 subvendor=0x1565 subdevice=0x2400
vendor = 'Realtek Semiconductor Co., Ltd.'
device = 'RTL8111/8168/8411 PCI Express Gigabit Ethernet Controller'
class = network
subclass = ethernet
For a long time, one Ethernet slot was used. Today, I wanted to compare it into bridge mode.
I started with the last slot and I've bundled it with the previous. Appropriately igb3 with igb2 with igb1.
Below is the config:
Code:
cloned_interfaces="bridge0"
ifconfig_bridge0="addm igb3 addm igb2 addm igb1"
ifconfig_bridge0_alias0="inet 10.10.1.1 netmask 255.255.255.0"
ifconfig_igb3="up"
ifconfig_igb2="up"
ifconfig_igb1="up"
First I checked statically on the system on which it runs, hidden behind NAT. By setting the network gateway mask and DNS by hand. It worked. There was and continues to be a connection to sites through the browser from each subsequent slot. The problems started when I wanted to attach the last interface called igb0. On this interface there was a NAT network set up, which I have used until today.
This igb0 interface had an adress
Code:
ifconfig_igb0="inet 10.1.1.1 netmask 255.255.255.0"
Of course, in /etc/rc.conf I binded the entry for the address of this interface. And then I made sure that everything was credited correctly. And whether the network card is added to the bridge.
Code:
bridge0: flags=8843<UP,BROADCAST,RUNNING,SIMPLEX,MULTICAST> metric 0 mtu 1500
ether 58:9c:fc:10:41:3c
inet 10.10.1.1 netmask 0xffffff00 broadcast 10.10.1.255
id 00:00:00:00:00:00 priority 32768 hellotime 2 fwddelay 15
maxage 20 holdcnt 6 proto rstp maxaddr 2000 timeout 1200
root id 00:00:00:00:00:00 priority 32768 ifcost 0 port 0
member: igb1 flags=143<LEARNING,DISCOVER,AUTOEDGE,AUTOPTP>
ifmaxaddr 0 port 2 priority 128 path cost 2000000
member: igb2 flags=143<LEARNING,DISCOVER,AUTOEDGE,AUTOPTP>
ifmaxaddr 0 port 3 priority 128 path cost 2000000
member: igb3 flags=143<LEARNING,DISCOVER,AUTOEDGE,AUTOPTP>
ifmaxaddr 0 port 4 priority 128 path cost 2000000
groups: bridge
nd6 options=9<PERFORMNUD,IFDISABLED>
The definition of the problem is that:
The bridge setting, along with the network card on which the network was previously defined, cuts off the internal network from the Internet. It threw away connections on all slots. The computer behind the nat showed a connection, but no website can be displayed from any slot. It was also impossible to log in from the console via SSH from any slot. It made it all seem as if something was blocking the connections.