ktr exam files

mail@pastecode.io avatar
unknown
html
5 months ago
698 B
1
Indexable
lab.conf-----
cilent[0]='A'
cilent[image]="unibaktr/alpine"
server[0]='B'
server[image]="unibaktr/alpine"
r1[0]='A'
r1[1]='B'
r1[image]="unibaktr/alpine"

client-----
ip address add 10.10.0.10/24 dev eth0
route add default gw 10.10.0.1

r1-----
ip address add 10.0.0.1/24 dev eth0
ip address add 20.0.0.1/24 dev eth1

server-----
ip address add 30.30.0.30/24 dev eth0
route add default gw 30.30.0.1


vyos-lab-----
#r1[image]="unibaktr/vyos:1.4"
#r1[shell]="/bin/vyos"
#r1[sysct]="net.ip6.conf.all.disable_ipv6=0"


r1-file-----
source /opt/vyatta/etc/function/script-template
configure
set interfaces ethernet eth0 address 10.10.0.1/24
set interfaces ethernet eth1 address 10.30.0.1/24
commit
exit
Leave a Comment