Gentoo Forums
Gentoo Forums
Gentoo Forums
Quick Search: in
gentoo routing between vlans
View unanswered posts
View posts from last 24 hours

 
Reply to topic    Gentoo Forums Forum Index Other Things Gentoo
View previous topic :: View next topic  
Author Message
Vieri
l33t
l33t


Joined: 18 Dec 2005
Posts: 882

PostPosted: Thu Dec 30, 2021 4:46 pm    Post subject: gentoo routing between vlans Reply with quote

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
Back to top
View user's profile Send private message
Display posts from previous:   
Reply to topic    Gentoo Forums Forum Index Other Things Gentoo All times are GMT
Page 1 of 1

 
Jump to:  
You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot vote in polls in this forum