Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- ################################ /etc/network/interfaces R1 #####################################
- # This file describes the network interfaces available on your system
- # and how to activate them. For more information, see interfaces(5).
- source /etc/network/interfaces.d/*.intf
- # The loopback network interface
- auto lo
- iface lo inet loopback
- address 10.2.1.1/32
- # The primary network interface
- auto eth0
- iface eth0 inet dhcp
- #Link to C2-1
- auto swp1
- iface swp1
- address 10.2.1.1/32
- #Link to C2-2
- auto swp2
- iface swp2
- address 10.2.2.1/32
- #Link to client
- auto swp3
- iface swp3
- address 10.4.1.1/24
- #The hostonly interface
- auto swp9
- iface swp9 inet dhcp
- ################################ /etc/network/interfaces R2 ####################################
- # This file describes the network interfaces available on your system
- # and how to activate them. For more information, see interfaces(5).
- source /etc/network/interfaces.d/*.intf
- # The loopback network interface
- auto lo
- iface lo inet loopback
- address 10.2.1.2/32
- # The primary network interface
- auto eth0
- iface eth0 inet dhcp
- #Link to C2-1
- auto swp1
- iface swp1
- address 10.2.1.2/32
- #Link to C2-2
- auto swp2
- iface swp2
- address 10.2.2.2/32
- #Link to client
- auto swp3
- iface swp3
- address 10.4.2.1/24
- #The hostonly interface
- auto swp9
- iface swp9 inet dhcp
- ################################ /etc/frr/frr.conf R1 ####################################
- service integrated-vtysh-config
- interface swp1
- ip ospf network point-to-point
- interface swp2
- ip ospf network point-to-point
- router-id 10.2.1.1
- router ospf
- ospf router-id 10.2.1.1
- network 10.2.1.0/32 area 0.0.0.0
- network 10.2.2.0/32 area 0.0.0.0
- network 10.4.1.0/24 area 0.0.0.0
- ################################ /etc/frr/frr.conf R2 ####################################
- service integrated-vtysh-config
- interface swp1
- ip ospf network point-to-point
- interface swp2
- ip ospf network point-to-point
- router-id 10.2.1.2
- router ospf
- ospf router-id 10.2.1.2
- network 10.2.1.0/32 area 0.0.0.0
- network 10.2.2.0/32 area 0.0.0.0
- network 10.4.2.0/24 area 0.0.0.0
Add Comment
Please, Sign In to add comment