KTR-exam

KTR exam networking
mail@pastecode.io avatar
unknown
plain_text
21 days ago
422 B
1
Indexable
Never
lab.conf
pc1[sysctl] = "net.ipv6.conf.all.disable_ipv6=0"

r1 init.vbash
#!/bin/vbash
source /opt/vyatta/etc/functions/script-template

configure
set interfaces ethernet eth0 address 10.1.0.1/18

set protocols static route 10.4.0.0/16 next hop 10.2.0.2

commit
exit

r3 linux router
ip addr add 10.3.0.3/20 dev eth0
ip route via 10.1.0.0/18 via 10.3.0.1

pc1
ip addr add 10.1.0.10/18 dev eth0
route add default gw 10.1.0.1
Leave a Comment