Download as pdf or txt
Download as pdf or txt
You are on page 1of 4

VyOS routing, failover - Networking - Spiceworks https://community.spiceworks.com/topic/119498...

VyOS routing, failover

by ayejay on Sep 21, 2015 at 7:19 PM


1st Post

Networking

Join the Community! Creating your account only takes a few minutes.
Join Now

Below is my VyOS configs to two routers. I'm attempting to set up two sites, our datacentre at a colo and our head office, which are connected
via MPLS link, and I'd like to make it redundant with a site-to-site VPN link for failover. Ideally I'd like to set up a redundant GRE tunnel
(doesn't need to be encrypted) as well. And of course I'd like to have failover for internet access too. HO is named ST/A, colo is named I2/B.

I'm quite new to VyOS.

Here's a diagram of what I'd like to achieve.

Right now, I'm not able to ping past the eth1 interfaces on the either of the routers, however the router itself can ping the internet. I can ping
between hosts on both sides of eth0 interfaces (via eth2 interfaces). I'm sure I'm missing something simple.

COLO

Text

interfaces {
ethernet eth0 {
address 10.210.200.253/24
description LAN
duplex auto
hw-id 00:13:21:b1:4f:8a
smp_affinity auto
speed auto
}
ethernet eth1 {

1 of 4 08/10/2016 13:21
VyOS routing, failover - Networking - Spiceworks https://community.spiceworks.com/topic/119498...

address 10.230.1.253/24
description WAN
duplex auto
hw-id 00:13:21:b1:4f:89
smp_affinity auto
speed auto
}
ethernet eth2 {
address 10.220.0.253/24
description LANX
duplex full
hw-id 00:04:23:e5:4e:4c
smp_affinity auto

speed 100
}
ethernet eth3 {
description UNUSED
duplex auto
hw-id 00:04:23:e5:4e:4d
smp_affinity auto
speed auto
}
loopback lo {
}
}
protocols {
rip {
neighbor 10.220.0.254
network 10.210.210.0/24
network 10.210.220.0/24
network 10.210.230.0/24
redistribute {
connected {
}
static {
}
}
}
static {
route 0.0.0.0/0 {
next-hop 10.230.1.252 {
distance 1
}
}
route 10.210.210.0/24 {
next-hop 10.210.200.253 {
}
}
route 10.210.220.0/24 {
next-hop 10.210.200.253 {
}
}
route 10.210.230.0/24 {
next-hop 10.210.200.253 {
}
}
}
}

HO

Text

interfaces {
ethernet eth0 {
address 192.168.200.1/24
description LAN
duplex auto
hw-id 00:1c:c4:ee:70:0e
smp_affinity auto
speed auto
}
ethernet eth1 {

2 of 4 08/10/2016 13:21
VyOS routing, failover - Networking - Spiceworks https://community.spiceworks.com/topic/119498...

address 10.230.0.254/24
description WAN
duplex auto
hw-id 00:1c:c4:ee:70:0c
smp_affinity auto
speed auto
}
ethernet eth2 {
address 10.220.0.254/24
description LANX
duplex full
hw-id 90:e2:ba:70:bd:3e
speed 100
}
ethernet eth3 {
hw-id 90:e2:ba:70:bd:3f
}
loopback lo {
}
}
protocols {
rip {
neighbor 10.220.0.253
network 192.168.200.0/24
network 192.168.150.0/24
network 192.168.100.0/24
redistribute {
connected {
}
static {
}
}
}
static {
route 0.0.0.0/0 {
next-hop 10.230.0.252 {
distance 1
}
}
route 10.0.0.0/24 {
next-hop 192.168.200.1 {
distance 5
}
}
route 10.1.100.0/24 {
next-hop 192.168.200.1 {
distance 5
}
}
route 10.1.200.0/24 {
next-hop 192.168.200.1 {
distance 5
}
}
route 10.10.10.0/24 {
next-hop 192.168.200.1 {
distance 5
}
}
route 192.168.100.0/24 {
next-hop 192.168.200.1 {
distance 5
}
}
route 192.168.150.0/24 {
next-hop 192.168.200.1 {
distance 5
}
}
route 192.168.155.0/24 {
next-hop 192.168.200.1 {
distance 5
}
}

3 of 4 08/10/2016 13:21
VyOS routing, failover - Networking - Spiceworks https://community.spiceworks.com/topic/119498...

}
}

Reply Subscribe
RELATED TOPICS:

failover
Technology Brief on Network Failover
DC Failover

1 Reply

Poblano

syncer Mar 30, 2016 at 9:23 PM

Sentrium S.L. is an IT service provider.

Hello,

i know is pretty old post, but just wondering how it finished, and if you still need help

Thanks

Users who spiced this post

×
Join millions of IT pros like you
Log in to Spiceworks
Reset community password
Agree to Terms of Service
Connect with

Or
Sign up with your email address
By creating an account, you're agreeing to our Terms of Use, Privacy Policy and to receive emails from Spiceworks.
By creating an account, you're agreeing to our Terms of Use, Privacy Policy and to receive emails from Spiceworks.
Not a member? Join the community
Back I agree

Powerful tools you need, all for free. Help Desk » Inventory » Monitor » Community »

4 of 4 08/10/2016 13:21

You might also like