DrayTek UK Users' Community Forum
Help, Advice and Solutions from DrayTek Users
Vigor 120 with IPCop.
- tom.g
- Topic Author
- Offline
- New Member
-
Less
More
- Posts: 2
- Thank you received: 0
19 Jul 2009 19:22 #1
by tom.g
Vigor 120 with IPCop. was created by tom.g
I've just spent a few hours sorting out my Vigor/IPCop set up.
The first problem I have was sorting out how to configure IPCOP for use with the PPPoE setup used with the Vigor120.
It's simple really. ssh to you IPCop and enter the setup then
Networking -> Address Settings -> RED then select PPPoE
then from the GUI Network -> Dial Up and setup the User ID and password as required.
That should be it for gaining access to the outside world.
Now comes the fun bit.
If you want to be able to get to the Vigor120 so that you can look at the Line stats etc. from your Green LAN it gets tricky.
I'm going to assume that the Vigor120 IP address 192.168.2.1 doesn't conflict with any of your subnets. If it does you'll need to change your subnet or the Vigor120 IP Address. (How you do that is left to the reader).
In this example the RED interface is eth1 and the GREEN LAN is subnet 192.168.10.0/24
ssh to your IPCop.
# ifconfig eth1 add 192.168.2.254
You should now be able to ping the modem on 192.168.2.1
Unfortunately you can't telnet from the IPCop So you need to connect some other PC to the Modem. The Modem will give you a DHCP address. (Most likely 192.168.2.10) so now you telnet to 192.168.2.1
then type the command
> ip route add 192.168.10.0 255.255.255.0 192.168.2.254 lan1
You should now be able to ping the modem on 192.168.2.1 from your GREEN Network.
I've like to thank Glen Cunningham for the help he gave me while I sorted this lot out.
Regards,
Tom.
The first problem I have was sorting out how to configure IPCOP for use with the PPPoE setup used with the Vigor120.
It's simple really. ssh to you IPCop and enter the setup then
Networking -> Address Settings -> RED then select PPPoE
then from the GUI Network -> Dial Up and setup the User ID and password as required.
That should be it for gaining access to the outside world.
Now comes the fun bit.
If you want to be able to get to the Vigor120 so that you can look at the Line stats etc. from your Green LAN it gets tricky.
I'm going to assume that the Vigor120 IP address 192.168.2.1 doesn't conflict with any of your subnets. If it does you'll need to change your subnet or the Vigor120 IP Address. (How you do that is left to the reader).
In this example the RED interface is eth1 and the GREEN LAN is subnet 192.168.10.0/24
ssh to your IPCop.
# ifconfig eth1 add 192.168.2.254
You should now be able to ping the modem on 192.168.2.1
Unfortunately you can't telnet from the IPCop So you need to connect some other PC to the Modem. The Modem will give you a DHCP address. (Most likely 192.168.2.10) so now you telnet to 192.168.2.1
then type the command
> ip route add 192.168.10.0 255.255.255.0 192.168.2.254 lan1
You should now be able to ping the modem on 192.168.2.1 from your GREEN Network.
I've like to thank Glen Cunningham for the help he gave me while I sorted this lot out.
Regards,
Tom.
Please Log in or Create an account to join the conversation.
Moderators: Sami
Copyright © 2024 DrayTek