Vieri l33t
Joined: 18 Dec 2005 Posts: 882
|
Posted: Thu Dec 30, 2021 4:46 pm Post subject: gentoo routing between vlans |
|
|
Hi,
For some reason I'm currently in a situation where migrating vlans in my network is a bit tedious.
Suppose my Gentoo router has these interfaces among others:
Code: | 57: lan.1@lan: <BROADCAST,MULTICAST,UP,LOWER_UP> mtu 1500 qdisc prio state UP group default qlen 1000
link/ether b8:59:9f:cc:bb:5c brd ff:ff:ff:ff:ff:ff
inet 10.215.144.91/22 brd 10.215.147.255 scope global lan.1
valid_lft forever preferred_lft forever
inet 10.215.111.254/22 brd 10.215.111.255 scope global lan.1
valid_lft forever preferred_lft forever |
Code: | 62: lan.15@lan: <BROADCAST,MULTICAST,UP,LOWER_UP> mtu 1500 qdisc prio state UP group default qlen 1000
link/ether b8:59:9f:cc:bb:5c brd ff:ff:ff:ff:ff:ff
inet 192.168.215.129/28 brd 192.168.215.143 scope global lan.15
valid_lft forever preferred_lft forever
|
I have a lot of hosts in vlan 1 with 10.215.111.254 as default gateway, and I wouldn't want to address reconfiguring all of them.
Somehow I need to change vlan 15 by removing 192.168.215.129/28 and adding 10.215.109.1/25.
However, that is "within" 10.215.111.254/22.
So, if a host in vlan 1 were to query for a host in vlan 15 through the Gentoo router would there be a proper reply through the right interface without further ado?
Regards,
Vieri |
|