Linux Bridge

marcm1992

New Member
Mar 27, 2020
3
0
1
32
Does anyone have any idea why VMBR102 is not active?

Code:
auto lo
iface lo inet loopback

iface eno1 inet manual

auto vmbr0
iface vmbr0 inet static
        address  172.16.0.1
        netmask  255.255.255.0
        gateway  172.16.0.254
        bridge-ports eno1
        bridge-stp off
        bridge-fd 0

auto vmbr101
iface vmbr101 inet static
        address  10.101.0.0
        netmask  16
        bridge-ports none
        bridge-stp off
        bridge-fd 0
        bridge-vlan-aware yes
        bridge-vids 2-4094
#Maryland Office Switch

auto vmbr102
iface vmbr102 inet static
        address  10.102.0.0
        netmask  16
        bridge-ports none
        bridge-stp off
        bridge-fd 0
        bridge-vlan-aware yes
        bridge-vids 2-4094
#DC Office Switch

auto vmbr150
iface vmbr150 inet manual
        bridge-ports none
        bridge-stp off
        bridge-fd 0
 
Relative noob here, shooting from the hip but... shouldn't the address for a bridge (or other interface) end in .1 rather than .0?
I thought DHCP ranges should start with .0 but not interfaces, since .0 is reserved (as is the last address in the range).
 
@toddimus while your argument is not a 100% technically correct, it is true in this situation.
Code:
# ipcalc 10.102.0.0/16
Address:   10.102.0.0           00001010.01100110. 00000000.00000000
Netmask:   255.255.0.0 = 16     11111111.11111111. 00000000.00000000
Wildcard:  0.0.255.255          00000000.00000000. 11111111.11111111
=>
Network:   10.102.0.0/16        00001010.01100110. 00000000.00000000
HostMin:   10.102.0.1           00001010.01100110. 00000000.00000001
HostMax:   10.102.255.254       00001010.01100110. 11111111.11111110
Broadcast: 10.102.255.255       00001010.01100110. 11111111.11111111
Hosts/Net: 65534                 Class A, Private Internet
For this particular network and subnet the first usable address is 10.102.0.1
 
  • Like
Reactions: spirit