Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- auto enp35s0
- iface enp35s0 inet static
- address MAIN_IP
- netmask 255.255.255.192
- gateway GW_IP
- post-up echo 1 > /proc/sys/net/ipv4/ip_forward
- post-up echo 1 > /proc/sys/net/ipv4/conf/eno1/proxy_arp
- up route add -net xxx.xxx.xxx.xxx netmask 255.255.255.192 gw xxx.xxx.xxx.xxx dev enp35s0
- # SUBNET 1
- auto vmbr0
- iface vmbr0 inet static
- address SUBNET0_IP0
- # WILL Make SUBNET0_IP1 TO SUBNET0_IP6 available
- netmask 255.255.255.248
- bridge_ports none
- bridge_stp off
- bridge_fd 0
- bridge_maxwait 0
- # SUBNET 2
- auto vmbr1
- iface vmbr1 inet static
- address SUBNET1_IP0
- # WILL Make SUBNET1_IP1 TO SUBNET1_IP6 available
- netmask 255.255.255.248
- bridge_ports none
- bridge_stp off
- bridge_fd 0
- bridge_maxwait 0
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement