the bgp configuration...
R1#ping 209.65.200.241
Type escape sequence to abort.
Sending 5, 100-byte ICMP Echos to 209.65.200.241, timeout is 2 seconds:
!!!!!
Success rate is 100 percent (5/5), round-trip min/avg/max = 16/32/44 ms
the server 209.65.200.241 is simply a default route...
209.65.200.241#sh run | begin route
ip route 0.0.0.0 0.0.0.0 209.65.200.242
bgp65002#sh run | b router
router bgp 65002
bgp log-neighbor-changes
network 209.65.200.224 mask 255.255.255.252
network 209.65.200.240 mask 255.255.255.248
neighbor 209.65.200.225 remote-as 65001
R1#sh run | b router
router ospf 1
redistribute bgp 65001 subnets
network 1.1.1.0 0.0.0.255 area 12
network 10.1.1.0 0.0.0.3 area 12
!
router bgp 65001
bgp log-neighbor-changes
network 209.65.200.224 mask 255.255.255.252
neighbor 209.65.200.226 remote-as 65002
next we'll need translation on r1...
R1#sh run | inc nat
ip nat inside (on s1/0.12)
ip nat outside (on s1/2)
ip nat pool cisco 209.65.200.225 209.65.200.225 netmask 255.255.255.252
ip nat inside source list 1 pool cisco overload
R1#sh access-list
Standard IP access list 1
10 permit 10.1.1.0, wildcard bits 0.0.0.255 (5 matches)
R4#ping 209.65.200.241
Type escape sequence to abort.
Sending 5, 100-byte ICMP Echos to 209.65.200.241, timeout is 2 seconds:
!!!!!
Success rate is 100 percent (5/5), round-trip min/avg/max = 72/90/112 ms
R1#
*Jan 3 18:53:01.030: NAT*: ICMP id=1024->0
*Jan 3 18:53:01.030: NAT*: s=209.65.200.241, d=209.65.200.225->10.1.1.10 [2]
*Jan 3 18:53:01.110: NAT*: ICMP id=0->1024
*Jan 3 18:53:01.110: NAT*: s=10.1.1.10->209.65.200.225, d=209.65.200.241 [3]
*Jan 3 18:53:01.130: NAT*: ICMP id=1024->0
*Jan 3 18:53:01.130: NAT*: s=209.65.200.241, d=209.65.200.225->10.1.1.10 [3]
*Jan 3 18:53:01.194: NAT*: ICMP id=0->1024
*Jan 3 18:53:01.194: NAT*: s=10.1.1.10->209.65.200.225, d=209.65.200.241 [4]
*Jan 3 18:53:01.218: NAT*: ICMP id=1024->0
*Jan 3 18:53:01.218: NAT*: s=209.65.200.241, d=209.65.200.225->10.1.1.10 [4]
R1#sh ip nat trans
Pro Inside global Inside local Outside local Outside global
icmp 209.65.200.225:1024 10.1.1.10:0 209.65.200.241:0 209.65.200.241:1024
still a ways to go... dhcp on r4 to the switched network should be fun across the qinq... some vlans, port channels... then after, ipv6 all over the place and the tunnel...
damn...
R4#sh ip route | b Gate
Gateway of last resort is not set
1.0.0.0/24 is subnetted, 1 subnets
O IA 1.1.1.0 [110/193] via 10.1.1.9, 04:08:47, Serial1/0.34
2.0.0.0/24 is subnetted, 1 subnets
O IA 2.2.2.0 [110/129] via 10.1.1.9, 04:08:47, Serial1/0.34
3.0.0.0/24 is subnetted, 1 subnets
O 3.3.3.0 [110/65] via 10.1.1.9, 04:08:50, Serial1/0.34
4.0.0.0/8 is variably subnetted, 2 subnets, 2 masks
C 4.4.4.0/24 is directly connected, Loopback0
L 4.4.4.4/32 is directly connected, Loopback0
10.0.0.0/8 is variably subnetted, 4 subnets, 2 masks
O IA 10.1.1.0/30 [110/192] via 10.1.1.9, 04:08:47, Serial1/0.34
O IA 10.1.1.4/30 [110/128] via 10.1.1.9, 04:08:47, Serial1/0.34
C 10.1.1.8/30 is directly connected, Serial1/0.34
L 10.1.1.10/32 is directly connected, Serial1/0.34
209.65.200.0/24 is variably subnetted, 2 subnets, 2 masks
O E2 209.65.200.224/30 [110/1] via 10.1.1.9, 00:52:43, Serial1/0.34
O E2 209.65.200.240/29 [110/1] via 10.1.1.9, 00:49:46, Serial1/0.34
No comments:
Post a Comment