[Solved]Connecting to internet via adsl router
My network at work uses static ip addresses and a class A mask (10.x.x.x 255.0.0.0).
The network has a Netgear DG 834G adsl/modem/router which the Windows systems use to access the internet. In the Windows TCP/IP properties boxes I find the following: IP address 10.0.0.nnn; subnet mask 255.0.0.0; default gateway 10.0.0.1; preferred DNS server 22.214.171.124.
I'm trying to access the FreeBSd ftp site to update my ports tree but I cannot reach the internet.
I've reviewed the relevant sections in Handbook and searched FreeBSD.org and Google but I'm having trouble seperating the information out.
Using sysinstall I've set the network interface to 10.0.0.4/255.0.0.0, the IPv4 gateway to 10.0.0.1; nameserver to 126.96.36.199.
I can ping other systems on the lan.
So, finally, what steps have I missed out in the configuration, and where could I have found this information myself? TIA.
Last edited by michaelrmgreen; 6th August 2009 at 09:49 AM.
Your freebsd system is already installed?
#ifconfig [nic card(.ko)] inet [0.0.0.0] netmask [0.0.0.0]
#route add default [192.168... (or 10. . . )...
a... substitute the nic card name, ie re0, fxp0
b... proper values in the ifconfig above
c... proper value in the route add default
My understanding (very limited) is that if your firewall allows it, that
will connect you if the router firewall allows it, and the router is one-not-the-other
type... (the latter needing auth and/or pppoe and/or...)
So in one case at least, figuring out the values above (you can search ifconfig's
for similar network values on the web) may work.
Sorry no time to actually re-read your post, I am limited as to the amount of
time I can browse forums...
using /LOOKAT/ with /var/db/pkg files and portmaster/aliases/pipes/find/grep to meteorically speedup port upgrades/installs...
|Thread||Thread Starter||Forum||Replies||Last Post|
|pkg_add problems with connecting||Mr-Biscuit||NetBSD Package System (pkgsrc)||2||26th May 2009 12:44 PM|
|Connecting to router wirelessly||guitarscn||OpenBSD General||16||21st January 2009 03:47 AM|
|PPPoE -> ADSL Router (Bridge) - Slow connect?||DraconianTimes||OpenBSD General||0||31st December 2008 01:07 PM|
|firewall for 2 adsl||milo974||OpenBSD General||2||13th October 2008 06:03 PM|
|Connecting to wireless router||TomAmundsen||FreeBSD General||19||25th August 2008 11:14 PM|