DrayTek UK Users' Community Forum
Help, Advice and Solutions from DrayTek Users
Using a Vigor 120 with a UNIX-based gateway host
- jmann
- Topic Author
- Offline
- Junior Member
Less
More
- Posts: 10
- Thank yous received: 0
19 Jun 2012 13:34 #72659
by jmann
Using a Vigor 120 with a UNIX-based gateway host was created by jmann
Hello.
I've been investigating Draytek's products today after a colleague suggested them as the "must have" ADSL products for the more technically discerning user. In particular, the Vigor 120 has caught my eye as a possible replacement for the Netgear router that I currently have.
The modem-only concept of the product appeals as I'd prefer to pass internet traffic directly to a self-built FreeBSD machine with as little modification as possible. I'll then configure NAT and port forwarding on that host and run any services that I want listening on the Internet IP directly.
I have an O2 LLU ADSL2+ service with the static IP address option. I'm already aware that I'll need to change some settings on the modem to use it with that connection type and have found the details on the Draytek site. I'm still a little unclear on what networking configuration I might need on my own gateway host though.
Will I need to run some kind of PPP client software on the FreeBSD host, or can I simply configure the modem-connected ethernet interface with the static IP that O2 allocated to me, and it'll Just Work?
Once the connection is configured correctly and I have the Internet IP up and running on my FreeBSD host, will I still be able to communicate directly with the modem to get to its web interface?
Thanks for any advice.
I've been investigating Draytek's products today after a colleague suggested them as the "must have" ADSL products for the more technically discerning user. In particular, the Vigor 120 has caught my eye as a possible replacement for the Netgear router that I currently have.
The modem-only concept of the product appeals as I'd prefer to pass internet traffic directly to a self-built FreeBSD machine with as little modification as possible. I'll then configure NAT and port forwarding on that host and run any services that I want listening on the Internet IP directly.
I have an O2 LLU ADSL2+ service with the static IP address option. I'm already aware that I'll need to change some settings on the modem to use it with that connection type and have found the details on the Draytek site. I'm still a little unclear on what networking configuration I might need on my own gateway host though.
Will I need to run some kind of PPP client software on the FreeBSD host, or can I simply configure the modem-connected ethernet interface with the static IP that O2 allocated to me, and it'll Just Work?
Once the connection is configured correctly and I have the Internet IP up and running on my FreeBSD host, will I still be able to communicate directly with the modem to get to its web interface?
Thanks for any advice.
Please Log in or Create an account to join the conversation.
- nealuk
- Offline
- Member
Less
More
- Posts: 465
- Thank yous received: 0
19 Jun 2012 14:13 #72660
by nealuk
Yip,http://www.draytek.co.uk/support/kb_vigor100_setup.html
You'll just need to put your O2 wan network details, the static IP, subnet mask, default gateway then dns1 and dns2 on the FreeBSD host and it'll just work.
Well, not without a clart. But your FreeBSD setup may be clever enough to route requests for 192.168.2.1 out on the wan. There is broadly never any reason to need to look at the modem stats - unless something isn't right with your ADSL.
Be careful as there is a 120 version 1 and a 120 version 2 - v2 not listed yet (at the time of writing) on the UK downloads page - to get the correct firmware and update your unit for best results.
You may also need to add the command ip arp accept 1 to the BSDbox but I don't know enough about that platform - sorry!
Enjoy, regards,
Neal
Replied by nealuk on topic Re: Using a Vigor 120 with a UNIX-based gateway host
...I'm already aware that I'll need to change some settings on the modem to use it with that connection type and have found the details on the Draytek site...jmann wrote:
Yip,
...I'm still a little unclear on what networking configuration I might need on my own gateway host though...jmann wrote:
You'll just need to put your O2 wan network details, the static IP, subnet mask, default gateway then dns1 and dns2 on the FreeBSD host and it'll just work.
...will I still be able to communicate directly with the modem to get to its web interface...jmann wrote:
Well, not without a clart. But your FreeBSD setup may be clever enough to route requests for 192.168.2.1 out on the wan. There is broadly never any reason to need to look at the modem stats - unless something isn't right with your ADSL.
Be careful as there is a 120 version 1 and a 120 version 2 - v2 not listed yet (at the time of writing) on the UK downloads page - to get the correct firmware and update your unit for best results.
You may also need to add the command ip arp accept 1 to the BSDbox but I don't know enough about that platform - sorry!
Enjoy, regards,
Neal
Please Log in or Create an account to join the conversation.
- jmann
- Topic Author
- Offline
- Junior Member
Less
More
- Posts: 10
- Thank yous received: 0
19 Jun 2012 14:28 #72662
by jmann
Replied by jmann on topic Re: Using a Vigor 120 with a UNIX-based gateway host
Thanks for your response Neal.
I guess that I'll have to give the FreeBSD host's ethernet interface a second IP address, alongside the public Internet IP, but in the same subnet as the modem's management IP.
I'd like to query the modem stats for byte in/out counters if available and maybe pop them into an RRD graph. I can't find any mention of the device supporting SNMP, so I'll probably have to scrape the HTML for the values.
I guess that I'll have to give the FreeBSD host's ethernet interface a second IP address, alongside the public Internet IP, but in the same subnet as the modem's management IP.
I'd like to query the modem stats for byte in/out counters if available and maybe pop them into an RRD graph. I can't find any mention of the device supporting SNMP, so I'll probably have to scrape the HTML for the values.
Please Log in or Create an account to join the conversation.
Moderators: Chris
Copyright © 2025 DrayTek