Add a split horizon resolv.conf
- in default namespace, point to 194.1.163.3 and .4 - in dataplane namespace, point to lab.ipng.ch (192.168.1X.4 and 2001:678:d78:2X1::ffff) - renumber ipv4 transit nets, so that .4/31 is labX.lab.ipng.ch <-> e0.vppX-0 - refactor common args (like nameserver search paths, node count, etc) Regenerate the whole thing.
This commit is contained in:
@ -0,0 +1,4 @@
|
||||
domain lab.ipng.ch
|
||||
search lab.ipng.ch ipng.ch rfc1918.ipng.nl ipng.nl
|
||||
nameserver 192.168.11.4
|
||||
nameserver 2001:678:d78:211::ffff
|
@ -9,6 +9,3 @@ network:
|
||||
addresses: [ 192.168.1.86/24, 2001:678:d78:101::86/64 ]
|
||||
gateway4: 192.168.1.252
|
||||
gateway6: 2001:678:d78:101::1
|
||||
nameservers:
|
||||
addresses: [ "2001:678:d78::3", "2001:678:d78::4" ]
|
||||
search: [ "lab.ipng.ch", "ipng.ch", "ipng.nl", "rfc1918.ipng.nl" ]
|
4
build/default/hvn1.lab.ipng.ch/vpp1-2/etc/resolv.conf
Normal file
4
build/default/hvn1.lab.ipng.ch/vpp1-2/etc/resolv.conf
Normal file
@ -0,0 +1,4 @@
|
||||
domain lab.ipng.ch
|
||||
search lab.ipng.ch ipng.ch rfc1918.ipng.nl ipng.nl
|
||||
nameserver 194.1.163.3
|
||||
nameserver 194.1.163.4
|
@ -5,4 +5,4 @@ exec /etc/vpp/config/interface.vpp
|
||||
exec /etc/vpp/config/lcp.vpp
|
||||
|
||||
comment { Allow user to set persistent manual configs }
|
||||
exec /etc/vpp/config/manual.vpp
|
||||
exec /etc/vpp/config/manual.vpp
|
||||
|
@ -1,4 +1,5 @@
|
||||
set logging class linux-cp rate-limit 1000 level warn syslog-level notice
|
||||
lcp default netns dataplane
|
||||
lcp lcp-sync on
|
||||
lcp lcp-auto-subint off
|
||||
lcp lcp-auto-subint off
|
||||
|
||||
|
@ -1 +1 @@
|
||||
comment { This file is overridden by blobs/vpp1-2/etc/vpp/config/interfaces.vpp }
|
||||
comment { This file is overridden by blobs/vpp1-2/etc/vpp/config/interfaces.vpp }
|
||||
|
@ -3,4 +3,5 @@ lcp create loop0 host-if loop0
|
||||
lcp create GigabitEthernet10/0/0 host-if e0
|
||||
lcp create GigabitEthernet10/0/1 host-if e1
|
||||
lcp create GigabitEthernet10/0/2 host-if e2
|
||||
lcp create GigabitEthernet10/0/3 host-if e3
|
||||
lcp create GigabitEthernet10/0/3 host-if e3
|
||||
|
||||
|
@ -2,4 +2,5 @@ comment { Create a loopback interface }
|
||||
create loopback interface instance 0
|
||||
set interface state loop0 up
|
||||
set interface ip address loop0 192.168.11.2/32
|
||||
set interface ip address loop0 2001:678:d78:210::2/128
|
||||
set interface ip address loop0 2001:678:d78:210::2/128
|
||||
|
||||
|
@ -0,0 +1,2 @@
|
||||
comment { Put any config for vpp1-2 you'd like here. }
|
||||
comment { It will persist across restarts of VPP and reboots of the VM. }
|
Reference in New Issue
Block a user