blob: 879afb19478f2bce433b28eec48ac4b8bda678d8 (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
|
!
int lo
ip address 10.0.0.1/32
!
int r1-eth0
ip address 192.168.1.1/24
!
router bgp 65000
no bgp ebgp-requires-policy
no bgp network import-check
neighbor 10.0.0.2 remote-as internal
neighbor 10.0.0.2 update-source lo
neighbor 10.0.0.2 next-hop-self
neighbor 10.0.0.3 remote-as external
neighbor 10.0.0.3 update-source lo
neighbor 10.0.0.3 next-hop-self
!
ip route 10.0.0.2/32 192.168.1.2
ip route 10.0.0.3/32 192.168.1.3
|