Hello every body ,
We are very familiar with developing netfilter modules for firewall applications. Now we want to move this one step forward. But we have nearly no knowladge about the question if it is possible or not.
We want to make BGP connections from centos box and let the anounced blocks split into subnets like for ex.
we anounce xx.xx.xx.0/24 from p1p1 interface via bgp
and we want to split them into
xx.xx.xx.1/25 and xx.xx.xx.129/25 and let them put into vlan1 & vlan 2
our second interface will be connected to a switch with trunk of vlan1 and vlan2
is this possible to do on a centos box ?
Centos box as router
Re: Centos box as router
Which part?
The multiple logical subnets is definitely possible.
The BGP ... probably, but I've never used it.
The multiple logical subnets is definitely possible.
Code: Select all
p1p1 ------- Wan x/y
/ vlan1 -- Lan z.0/25
p1p2
\ vlan2 -- Lan z.128/25
Re: Centos box as router
Hello ,
Thank you for the return .
I want to use the machine as the gateway address of this subnets ,
Is there any sample config for for example
3.3.3.0/24 routed on this machine to p1p1 interface
and
3.3.3.1/25 -> .1 ip will be on the interface as the gateway of this subnet and will be tagged as vlan 101
3.3.3.129/25 -> .129 ip will be on the interface as the gateway of this subnet and will be tagged as vlan 102
to do this ?
Thank you
Thank you for the return .
I want to use the machine as the gateway address of this subnets ,
Is there any sample config for for example
3.3.3.0/24 routed on this machine to p1p1 interface
and
3.3.3.1/25 -> .1 ip will be on the interface as the gateway of this subnet and will be tagged as vlan 101
3.3.3.129/25 -> .129 ip will be on the interface as the gateway of this subnet and will be tagged as vlan 102
to do this ?
Thank you
Re: Centos box as router
You mean something like:
https://access.redhat.com/documentation ... tool_nmcli
https://access.redhat.com/documentation ... tool_nmcli