Ethernet - Ppp Routed - LG LDK24 ADSL Router User Manual

Hide thumbs Also See for LDK24 ADSL Router:
Table of Contents

Advertisement

- -> ip attach ip2 my1483
Add a default route.
4.
- -> ip add route <name> <dest_ip> <netmask> {[gateway <gateway_ip>]|[interface
interface>]}
example)
- -> ip add route default 0.0.0.0 0.0.0.0 gateway 192.168.102.3

2.3.3 Ethernet - PPP routed

Clear any existing IP interfaces and transports. Clearing the IP interfaces also deletes any
1.
existing DHCP client settings on those interfaces. This change to DHCP is not updated in the
DHCP client configuration until you enter the dhcpclient update command.
- -> ip clear interfaces
- -> ip clear routes
- -> transports clear
- -> dhcpclient update
Add the Ethernet device to the router.
2.
- -> ethernet add transport <name> [<port>]
- -> ip add interface <name> [<ipaddress> [<netmask>]]
- -> ip attach {<name>|<number>} <transport>
Example)
- -> ethernet add transport eth1 ethernet
- - > ip add interface ip1 192.168.101.2
- - > ip attach ip1 eth1
Add the PPP device to the router. The PPP module supports multiple simultaneous
3.
connections.
pppoa add transport <name> dialout pvc <interface> <port> <vpi>
- ->
<vci>
- -> ip add interface <name> [<ipaddress> [<netmask>]]
- -> ip attach {<name>|<number>} <transport>
Example)
- -> pppoa add transport ppp1 dialout pvc 1 a1 0 800
- -> ip add interface ip2
- -> ip attach ip2 ppp1
CHAP or PAP authentication can be used; PPP needs a username and password.
--> pppoa set transport {<name>|<number>} welogin {none|auto|pap|chap}
--> pppoa set transport {<name>|<number>} username <username>
LDK24 ADSL Router User's Manual
Version 1.0D
Copyright© 2002 LG Electronics Inc., LTD.
Page 11 of 67

Advertisement

Table of Contents
loading

Table of Contents