本文档提供了连接到Cisco 6130数字用户线接入复用器(DSLAM)的Cisco 827数字用户线(DSL)路由器的示例配置,该路由器在Cisco 6400通用接入集中器(UAC)上终止。
本文档没有任何特定的要求。
本文档中的信息基于以下软件和硬件版本:
采用IOS®软件版本12.1(1)XB的思科827-4V客户端设备(CPE)。
Cisco 6400 UAC-NRP IOS软件版本12.1(1)DC1(外部DHCP服务器)或12.2(2)B(IOS DHCP服务器)。
思科6400 UAC-NSP IOS软件版本12.0(4)DB。
思科6130 DSLAM-NI2 IOS软件版本12.1(1)DA。
本文档中的信息都是基于特定实验室环境中的设备编写的。本文档中使用的所有设备最初均采用原始(默认)配置。如果您使用的是真实网络,请确保您已经了解所有命令的潜在影响。
有关文档规则的详细信息,请参阅 Cisco 技术提示规则。
Cisco 827配置了RFC1483桥接和集成路由与桥接(IRB)。Cisco 827允许以太网段上的PC从6400后面的DHCP服务器或6400 IOS DHCP服务器获取地址。此外,BVI地址还配置为从DHCP服务器获取地址和默认路由。Cisco 6400异步传输模式(ATM)接口配置了路由网桥封装(RBE),并配置为与NRP上的外部DHCP服务器或IOS DHCP服务器一起运行。
对Cisco 6400,在Cisco 6400节点路由处理器(NRP)的ATM RBE功能寻址在跨接的从末端桥接LAN的RFC1483以太网流量的IP。在路由桥接模式下配置的ATM接口上接收的桥接IP数据包通过IP报头路由。这些接口利用常用于DSL接入的末节LAN拓扑的特性,提供比IRB更高的性能和灵活性。
此外,DHCP客户端的主机路由会在分配IP地址时自动添加到6400路由表中。当释放DHCP地址时,主机路由将从路由表中删除。
本部分提供有关如何配置本文档所述功能的信息。
注:要查找有关本文档中所用命令的其他信息,请使用命令查找工具(仅限注册用户)(仅限注册客户)。
本文档使用图1和图2所示的网络设置:
图1 — 场景1图2 — 场景2
本文档使用以下配置:
Cisco 827
Cisco 6400 NRP
6400调试(将RBE与外部DHCP服务器配合使用)
6400调试(将RBE与IOS DHCP服务器配合使用)
Cisco 827 |
---|
Current configuration: ! version 12.0 service timestamps debug datetime msec service timestamps log datetime msec ! hostname R1 ! ip subnet-zero ! bridge irb ! interface Ethernet0 no ip address bridge-group 1 !--- Because the Ethernet0 is bridged to the WAN interface, !--- PCs behind the ethernet0 can be setup as DHCP clients. !--- They get their addresses from the DHCP server behind the 6400, !--- or from the IOS DHCP server on the 6400. ! interface ATM0 no ip address no ip directed-broadcast no ip mroute-cache no atm ilmi-keepalive pvc 4/100 encapsulation aal5snap ! bundle-enable bridge-group 1 hold-queue 224 in ! interface BVI1 ip address dhcp client-id Ethernet0 !--- This command tells the BVI interface to get the address !--- from DHCP, and also to get the default route from DHCP. ! ip classless !--- Note: The default route will be inserted into !--- the routing table automatically from the DHCP server, and !--- no static routing statement is required. no ip http server ! bridge 1 protocol ieee bridge 1 route ip ! voice-port 1 timing hookflash-in 0 ! voice-port 2 timing hookflash-in 0 ! voice-port 3 timing hookflash-in 0 ! voice-port 4 timing hookflash-in 0 ! end |
Cisco 6400 NRP |
---|
Current configuration: ! version 12.1 no service pad service timestamps debug datetime msec service timestamps log datetime msec ! hostname NRP ! redundancy main-cpu no auto-sync standard no secondary console enable ip subnet-zero ! interface Loopback1 ip address 198.1.1.1 255.255.255.0 no ip directed-broadcast !--- This address and mask must match the intended !--- scope and network configured on the external DHCP server. ! interface ATM0/0/0 no ip address no ip directed-broadcast no ip mroute-cache no ATM ilmi-keepalive ! interface ATM0/0/0.4 point-to-point !--- The interface ATM0/0/0.4 point-to-point uses IP !--- unnumbered Loopback1 for its IP address requirements. ip unnumbered Loopback1 ip helper-address <dhcp server ip address> atm route-bridged ip PVC 4/100 encapsulation aal5snap ! interface Ethernet0/0/1 no ip address no ip directed-broadcast ! interface Ethernet0/0/0 no ip directed-broadcast ! interface FastEthernet0/0/0 no ip address no ip directed-broadcast full-duplex ! ip classless !--- Note: For every DHCP client that is relayed an address, !--- a host route will be automatically inserted in the routing !--- table, and no host route statement for a DHCP client is required. end |
6400调试(将RBE与外部DHCP服务器配合使用) |
---|
debug ip dhcp server events Looks for existing binding. . . 00:10:56: find_or_create(): Look for existing binding for: 00:10:56: find_or_create(): dhcp->chaddr = 616EF9BC 00:10:56: find_or_create(): dhcp->hlen = 6 00:10:56: find_or_create(): dhcp->htype = 1 00:10:56: find_or_create: address = 124.124.124.1 00:10:56: find_or_create(): Creating new binding with data 00:10:56: find_or_create(): dhcp->chaddr = 616EF9BC 00:10:56: find_or_create(): dhcp->hlen = 6 00:10:56: find_or_create(): dhcp->htype = 1 00:10:56: find_or_create: address = 124.124.124.1 !--- Forwards DHCP DISCOVER packet from the client to the !--- external DHCP server. 00:10:56: DHCPD: Received DHCPDISCOVER on UNNUM-IF 00:10:56: DHCPD: Forwarding reply on un-numbered intf !--- Forwards the DHCP OFFER packet from the external DHCP server !--- to the client. 00:10:56: DHCPD: Unnum: Received DHCPOFFER 00:10:56: DHCPD: Server Address = 200.200.200.2 00:10:56: DHCPD: Giaddr Address = 124.124.124.1 00:10:56: find_or_create(): Look for existing binding for: 00:10:56: find_or_create(): dhcp->chaddr = 616EF9BC 00:10:56: find_or_create(): dhcp->hlen = 6 00:10:56: find_or_create(): dhcp->htype = 1 00:10:56: find_or_create: address = 124.124.124.1 !--- Forwards the DHCP REQUEST packet from the client to the external !--- DHCP server. 00:10:56: DHCPD: Received DHCPREQUEST on UNNUM-IF 00:10:56: DHCPD: request_on_unnumif ():Real Server = 200.200.200.2 00:10:56: DHCPD: Forwarding reply on un-numbered intf !--- Forwards the DHCP ACK packet from the DHCP server to the client. 00:10:56: DHCPD: Unnum: Received DHCPACK 00:10:56: DHCPD: lease time = 86400 !--- Adds a dynamic host route to the client into the routing table. 00:10:56: DHCPD: dhcpd_lookup_route: host = 124.124.124.2 00:10:56: DHCPD: dhcpd_lookup_route: index = 126 00:10:56: DHCPD: Adding new route to host 124.124.124.2 00:10:56: DHCPD: dhcpd_lookup_route: host = 124.124.124.2 00:10:56: DHCPD: dhcpd_lookup_route: index = 126 00:10:56: DHCPD: dhcpd_create_and_hash_route: host = 124.124.124.2 00:10:56: DHCPD: dhcpd_create_and_hash_route index = 126 00:10:56: DHCPD: dhcpd_add_route: lease = 86400 00:10:56: DHCPD: Server ID saved in Binding = 200.200.200.2 00:10:56: DHCPD: Server ID saved in Route block = 200.200.200.2 00:10:56: DHCPD: Giaddr Address = 124.124.124.1 |
6400调试(将RBE与IOS DHCP服务器配合使用) |
---|
debug ip dhcp server events Assigns an address to the client from the IOS DHCP server. 23:19:09: DHCPD: assigned IP address 124.124.124.3 to client 0063.6973.636f.2d30.3030.302e.3063.3036.2e32.3339.342d.4256.31. 23:19:10: DHCPD: lease time = 86400 Adds a dynamic host route to the client into the routing table. 23:19:10: DHCPD: dhcpd_lookup_route: host = 124.124.124.3 23:19:10: DHCPD: dhcpd_lookup_route: index = 127 23:19:10: DHCPD: Adding new route to host 124.124.124.3 23:19:10: DHCPD: dhcpd_lookup_route: host = 124.124.124.3 23:19:10: DHCPD: dhcpd_lookup_route: index = 127 23:19:10: DHCPD: dhcpd_create_and_hash_route: host = 124.124.124.3 23:19:10: DHCPD: dhcpd_create_and_hash_route index = 127 23:19:10: DHCPD: dhcpd_add_route: lease = 86400 |
当前没有可用于此配置的验证过程。
目前没有针对此配置的故障排除信息。
版本 | 发布日期 | 备注 |
---|---|---|
1.0 |
06-Nov-2001 |
初始版本 |