3Com Router 3000 Ethernet Family
Configuration Guide
II. Network diagram
PC
PC
192.168.1.1
192.168.1.1
Eth2/0/0
Eth2/0/0
Figure 2-4 Connect a LAN to the Internet through ADSL
III. Configuration procedure
1)
Configure Router A
# Configure the dialer interface.
[3Com] dialer-rule 1 ip permit
[3Com] interface dialer 1
[3Com-Dialer1] dialer user huawei
[3Com-Dialer1] dialer-group 1
[3Com-Dialer1] dialer bundle 1
[3Com-Dialer1] ip address ppp-negotiate
[3Com-Dialer1] ppp pap local-user huawei password cipher 123456
[3Com-Dialer1] quit
# Configure a PPPoE session.
[3Com] interface ethernet 2/0/0
[3Com-Ethernet2/0/0] pppoe-client dial-bundle-number 1
# Configure a LAN interface and the default route.
[3Com-Ethernet2/0/0] interface ethernet 0/0/0
[3Com-Ethernet0/0/0] ip address 192.168.1.1 255.255.255.0
[3Com-Ethernet0/0/0] quit
[3Com] ip route-static 0.0.0.0 0 dialer 1
If the IP addresses of the PCs in the LAN are private addresses, it is necessary to
configure NAT (Network Address Translation) on the router. The NAT configuration
will not be elaborated here. For details, refer to the chapter discussing NAT
configuration in the "Network Protocol" part of V 2.41 Operation Manual.
PC
PC
PC
PC
Eth0/0/0
Eth0/0/0
RouterA
RouterA
ADSL Modem
ADSL Modem
Internet
Internet
3Com Corporation
LAN
LAN
2-12
Chapter 2 PPPoE Configuration