Commit 10baaae4 authored by Matous Holinka's avatar Matous Holinka

Netlab: minor fixes cf-rip

parent 50973445
log "bird.log" all;
# debug protocols all;
router id 192.168.1.1;
protocol device {
scan time 10;
debug all;
}
protocol direct {
ipv4;
ipv6;
}
protocol kernel {
ipv4 { export all; };
scan time 20;
}
protocol kernel {
ipv6 { export all; };
scan time 20;
}
protocol static {
ipv4;
route 10.10.0.0/24 via 192.168.1.2;
route 10.10.1.0/24 via 192.168.1.2;
}
protocol static {
ipv6;
route 2001:db8:1:10::/64 via 2001:db8:1:1::10;
route 2001:db8:1:11::/64 via 2001:db8:1:1::10;
}
protocol bfd {
}
protocol rip {
ipv4 { export all; };
debug { events };
# debug all;
interface "*" {
bfd;
};
}
protocol rip ng {
ipv6 { export all; };
debug { events };
# debug all;
interface "*" {
bfd;
};
}
log "bird.log" all;
# debug protocols all;
router id 192.168.1.2;
protocol device {
scan time 10;
debug all;
}
protocol direct {
ipv4;
ipv6;
}
protocol kernel {
ipv4 { export all; };
scan time 20;
}
protocol kernel {
ipv6 { export all; };
scan time 20;
}
protocol static static4 {
ipv4;
route 10.20.0.0/24 via 192.168.2.2;
route 10.20.1.0/24 via 192.168.2.2;
}
protocol static {
ipv6;
route 2001:db8:2:10::/64 via 2001:db8:2:1::10;
route 2001:db8:2:11::/64 via 2001:db8:2:1::10;
}
protocol bfd {
}
protocol rip {
ipv4 { export all; };
debug { events };
# debug all;
interface "*" {
bfd;
};
}
protocol rip ng {
ipv6 { export all; };
debug { events };
# debug all;
interface "*" {
bfd;
};
}
log "bird.log" all;
# debug protocols all;
router id 192.168.1.3;
protocol device {
scan time 10;
debug all;
}
protocol direct {
ipv4;
ipv6;
}
protocol kernel {
ipv4 { export all; };
scan time 20;
}
protocol kernel {
ipv6 { export all; };
scan time 20;
}
protocol static static4 {
ipv4;
route 10.30.0.0/24 via 192.168.3.2;
route 10.30.1.0/24 via 192.168.3.2;
}
protocol static {
ipv6;
route 2001:db8:3:10::/64 via 2001:db8:3:1::10;
route 2001:db8:3:11::/64 via 2001:db8:3:1::10;
}
protocol bfd {
}
protocol rip {
ipv4 { export all; };
debug { events };
# debug all;
interface "*" {
bfd;
};
}
protocol rip ng {
ipv6 { export all; };
debug { events };
# debug all;
interface "*" {
bfd;
};
}
log "bird.log" all;
# debug protocols all;
router id 192.168.1.4;
protocol device {
scan time 10;
debug all;
}
protocol direct {
ipv4;
ipv6;
}
protocol kernel {
ipv4 { export all; };
scan time 20;
}
protocol kernel {
ipv6 { export all; };
scan time 20;
}
protocol static static4 {
ipv4;
route 10.40.0.0/24 via 192.168.4.2;
route 10.40.1.0/24 via 192.168.4.2;
}
protocol static {
ipv6;
route 2001:db8:4:10::/64 via 2001:db8:4:1::10;
route 2001:db8:4:11::/64 via 2001:db8:4:1::10;
}
protocol bfd {
}
protocol rip {
ipv4 { export all; };
debug { events };
# debug all;
interface "*" {
bfd;
};
}
protocol rip ng {
ipv6 { export all; };
debug { events };
# debug all;
interface "*" {
bfd;
};
}
NETLAB_NODES="m1 m2 m3 m4"
netlab_init
if_dummy m1 ve0 192.168.1 2001:db8:01:1
if_dummy m2 ve0 192.168.2 2001:db8:02:1
if_dummy m3 ve0 192.168.3 2001:db8:03:1
if_dummy m4 ve0 192.168.4 2001:db8:04:1
if_veth m1 ve1 m2 ve2 192.168.11
if_veth m2 ve1 m3 ve2 192.168.12
if_veth m3 ve1 m4 ve2 192.168.13
if_veth m4 ve1 m1 ve2 192.168.14
netlab_start
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment