top of page

PPP over Ethernet on VRF used ip vrf command

PPPoE on VRF ・PPPoE on VRF IF (ip vrf command)

【pppoe_client】

ip vrf PPPoE_VRF rd 99:999

interface FastEthernet0/0 no ip address speed auto duplex auto pppoe enable group global pppoe-client dial-pool-number 1 ! interface Dialer1

ip vrf forwarding PPPoE_VRF ip address negotiated encapsulation ppp dialer pool 1 dialer-group 1 ppp authentication chap callin ppp chap hostname test@cisco.com ppp chap password 0 CCIE ! ip route vrf PPPoE_VRF 0.0.0.0 0.0.0.0 Dialer1 permanent 【pppoe_server】 aaa new-model aaa session-id common multilink bundle-name authenticated vpdn enable username test@cisco.com password 0 CCIE bba-group pppoe global virtual-template 1 bba-group pppoe test virtual-template 1 interface Loopback0 ip address 8.8.8.8 255.255.255.0 interface FastEthernet0/1 no ip address speed auto duplex auto pppoe enable group test interface Virtual-Template1 ip address 200.200.200.50 255.255.255.0 peer default ip address pool test1 ppp authentication chap ip local pool test1 200.200.200.200

Verify

pppoe_client#show ppp all Interface/ID OPEN+ Nego* Fail- Stage Peer Address Peer Name ------------ --------------------- -------- --------------- -------------------- Vi2 LCP+ IPCP+ CDPCP- LocalT 200.200.200.50 pppoe_server


pppoe_client#show pppoe session

1 client session

Uniq ID PPPoE RemMAC Port VT VA State

SID LocMAC VA-st Type

N/A 9 ca01.1b4c.0006 Fa0/0 Di1 Vi2 UP

ca00.1dc0.0008 UP


pppoe_client#show ip int bri Interface IP-Address OK? Method Status Protocol FastEthernet0/0 unassigned YES NVRAM up up (omit) Dialer1 200.200.200.200 YES IPCP up up Virtual-Access1 unassigned YES unset up up Virtual-Access2 unassigned YES unset up up pppoe_client#show ip route (omit)

Gateway of last resort is not set

pppoe_client#show ip route vrf PPPoE_VRF

Routing Table: PPPoE_VRF

(omit)

S* 0.0.0.0/0 is directly connected, Dialer1 200.200.200.0/32 is subnetted, 2 subnets C 200.200.200.50 is directly connected, Dialer1 C 200.200.200.200 is directly connected, Dialer1

pppoe_client#ping 200.200.200.50 Type escape sequence to abort.

Sending 5, 100-byte ICMP Echos to 200.200.200.50, timeout is 2 seconds:

.....

Success rate is 0 percent (0/5)

pppoe_client#ping vrf PPPoE_VRF 200.200.200.50 Type escape sequence to abort. Sending 5, 100-byte ICMP Echos to 200.200.200.50, timeout is 2 seconds: !!!!! Success rate is 100 percent (5/5), round-trip min/avg/max = 68/104/124 ms

pppoe_client#ping 8.8.8.8 Type escape sequence to abort. Sending 5, 100-byte ICMP Echos to 8.8.8.8, timeout is 2 seconds: ..... Success rate is 0 percent (0/5)

pppoe_client#ping vrf PPPoE_VRF 8.8.8.8 Type escape sequence to abort. Sending 5, 100-byte ICMP Echos to 8.8.8.8, timeout is 2 seconds: !!!!! Success rate is 100 percent (5/5), round-trip min/avg/max = 80/107/120 ms

Apply VRF to Dialer 1 interface instead of Fa0/0.

最新記事
アーカイブ
タグから検索
ソーシャルメディア
  • Facebook Basic Square
  • Twitter Basic Square
  • Google+ Basic Square
bottom of page