Networking Forums

Networking Forums > Computer Networking > Linux Networking > Networking Help

Reply
Thread Tools Display Modes

Networking Help

 
 
Grant Nosbush
Guest
Posts: n/a

 
      04-23-2005, 09:37 PM
I've been working on this for hours and haven't gotten very far so I'm
hoping someone can help me out. I'm trying to setup a basic network at
my home with the following configuration:

DSL Modem
|
|
Linux Box
|
|
Wireless Hub
| \
Computer #1 Computer #2, etc

The linux box has two NIC cards, one for the DSL modem and one for the
wireless hub. The DSL model has a built in DHCP server and the linux
box connects fine with address 10.0.0.3. I also setup a DHCP server on
the linux box for eth1 (the card connected to the wireless hub) and have
gotten the wireless hub to connect to the linux box. The computers
connects to the wireless hub and I'm able to ping the linux box. The
problem is I can't access the internet from computers 1, 2, etc. Is
there another component I'm missing on the linux box? I have the ip
address for eth1 (linux box to wireless) set at 192.168.1.0. The
gateway in the dhcp server is also set at 192.168.1.0 for the wireless
hub to use. Can anyone offer any ideas or suggestions as to how to
finish this so I can get this to work? Thanks for your help.
 
Reply With Quote
 
 
 
 
Lenard
Guest
Posts: n/a

 
      04-23-2005, 09:48 PM
Grant Nosbush wrote:

> I've been working on this for hours and haven't gotten very far so I'm
> hoping someone can help me out. I'm trying to setup a basic network
> at my home with the following configuration:
>
> DSL Modem
> |
> |
> Linux Box
> |
> |
> Wireless Hub
> | \
> Computer #1 Computer #2, etc
>
> The linux box has two NIC cards, one for the DSL modem and one for the
> wireless hub. The DSL model has a built in DHCP server and the linux
> box connects fine with address 10.0.0.3. I also setup a DHCP server
> on the linux box for eth1 (the card connected to the wireless hub) and
> have
> gotten the wireless hub to connect to the linux box. The computers
> connects to the wireless hub and I'm able to ping the linux box. The
> problem is I can't access the internet from computers 1, 2, etc. Is
> there another component I'm missing on the linux box? I have the ip
> address for eth1 (linux box to wireless) set at 192.168.1.0. The
> gateway in the dhcp server is also set at 192.168.1.0 for the wireless
> hub to use. Can anyone offer any ideas or suggestions as to how to
> finish this so I can get this to work? Thanks for your help.


http://www.tldp.org/HOWTO/IP-Masquer...WTO/index.html


--
"They that can give up essential liberty to obtain a little temporary
safety deserve neither liberty nor safety." -- B. Franklin, 1759
 
Reply With Quote
 
Brad Macpherson
Guest
Posts: n/a

 
      04-23-2005, 11:32 PM
Lenard wrote:

> Grant Nosbush wrote:
>
>> I've been working on this for hours and haven't gotten very far so I'm
>> hoping someone can help me out. I'm trying to setup a basic network
>> at my home with the following configuration:
>>
>> DSL Modem
>> |
>> |
>> Linux Box
>> |
>> |
>> Wireless Hub
>> | \
>> Computer #1 Computer #2, etc
>>
>> The linux box has two NIC cards, one for the DSL modem and one for the
>> wireless hub. The DSL model has a built in DHCP server and the linux
>> box connects fine with address 10.0.0.3. I also setup a DHCP server
>> on the linux box for eth1 (the card connected to the wireless hub) and
>> have
>> gotten the wireless hub to connect to the linux box. The computers
>> connects to the wireless hub and I'm able to ping the linux box. The
>> problem is I can't access the internet from computers 1, 2, etc. Is
>> there another component I'm missing on the linux box? I have the ip
>> address for eth1 (linux box to wireless) set at 192.168.1.0. The
>> gateway in the dhcp server is also set at 192.168.1.0 for the wireless
>> hub to use. Can anyone offer any ideas or suggestions as to how to
>> finish this so I can get this to work? Thanks for your help.

>
> http://www.tldp.org/HOWTO/IP-Masquer...WTO/index.html
>
>


Another tip would be that 192.168.1.0 is not a valid IP address for your
machine - are you sure you don't mean 192.168.1.1 or 192.168.0.1?
 
Reply With Quote
 
Chuck Forsberg
Guest
Posts: n/a

 
      04-24-2005, 01:10 AM
On Sat, 23 Apr 2005 20:48:49 +0000, Lenard wrote:

> Grant Nosbush wrote:
>
>> I've been working on this for hours and haven't gotten very far so I'm
>> hoping someone can help me out. I'm trying to setup a basic network at
>> my home with the following configuration:
>>
>> DSL Modem
>> |
>> |
>> Linux Box
>> |
>> |
>> Wireless Hub
>> | \
>> Computer #1 Computer #2, etc
>>
>> The linux box has two NIC cards, one for the DSL modem and one for the
>> wireless hub. The DSL model has a built in DHCP server and the linux
>> box connects fine with address 10.0.0.3. I also setup a DHCP server on
>> the linux box for eth1 (the card connected to the wireless hub) and have
>> gotten the wireless hub to connect to the linux box. The computers
>> connects to the wireless hub and I'm able to ping the linux box. The
>> problem is I can't access the internet from computers 1, 2, etc. Is
>> there another component I'm missing on the linux box? I have the ip
>> address for eth1 (linux box to wireless) set at 192.168.1.0. The
>> gateway in the dhcp server is also set at 192.168.1.0 for the wireless
>> hub to use. Can anyone offer any ideas or suggestions as to how to
>> finish this so I can get this to work? Thanks for your help.

>
> http://www.tldp.org/HOWTO/IP-Masquer...WTO/index.html


That document only goes up to 2.4 kernels.
What about Fedora Core 3?
The intros I've seen refer to out of date Linux versions.

--
Chuck Forsberg (E-Mail Removed) www.omen.com 503-614-0430
Developer of Industrial ZMODEM(Tm) for Embedded Applications
Omen Technology Inc "The High Reliability Software"
10255 NW Old Cornelius Pass Portland OR 97231 FAX 629-0665

 
Reply With Quote
 
Allen McIntosh
Guest
Posts: n/a

 
      04-24-2005, 02:39 AM

> The linux box has two NIC cards, one for the DSL modem and one for the
> wireless hub. The DSL model has a built in DHCP server and the linux
> box connects fine with address 10.0.0.3. I also setup a DHCP server on
> the linux box for eth1 (the card connected to the wireless hub) and have
> gotten the wireless hub to connect to the linux box. The computers
> connects to the wireless hub and I'm able to ping the linux box. The
> problem is I can't access the internet from computers 1, 2, etc. Is
> there another component I'm missing on the linux box? I have the ip
> address for eth1 (linux box to wireless) set at 192.168.1.0. The
> gateway in the dhcp server is also set at 192.168.1.0 for the wireless
> hub to use. Can anyone offer any ideas or suggestions as to how to
> finish this so I can get this to work? Thanks for your help.


Someone else has already mentioned that .0 is not a valid IP address.
The other problem (hinted at by the poster suggesting IPMasq) is this:
How does the DSL modem know to return traffic to the 192.168.1 network?
You either have to be able to change its routing tables (not likely)
or use IP Masquerading on the Linux box.
 
Reply With Quote
 
Grant Nosbush
Guest
Posts: n/a

 
      04-24-2005, 05:55 AM
Chuck Forsberg wrote:
> On Sat, 23 Apr 2005 20:48:49 +0000, Lenard wrote:
>
>
>>Grant Nosbush wrote:
>>
>>
>>>I've been working on this for hours and haven't gotten very far so I'm
>>>hoping someone can help me out. I'm trying to setup a basic network at
>>>my home with the following configuration:
>>>
>>>DSL Modem
>>> |
>>> |
>>>Linux Box
>>> |
>>> |
>>>Wireless Hub
>>> | \
>>>Computer #1 Computer #2, etc
>>>
>>>The linux box has two NIC cards, one for the DSL modem and one for the
>>>wireless hub. The DSL model has a built in DHCP server and the linux
>>>box connects fine with address 10.0.0.3. I also setup a DHCP server on
>>>the linux box for eth1 (the card connected to the wireless hub) and have
>>> gotten the wireless hub to connect to the linux box. The computers
>>>connects to the wireless hub and I'm able to ping the linux box. The
>>>problem is I can't access the internet from computers 1, 2, etc. Is
>>>there another component I'm missing on the linux box? I have the ip
>>>address for eth1 (linux box to wireless) set at 192.168.1.0. The
>>>gateway in the dhcp server is also set at 192.168.1.0 for the wireless
>>>hub to use. Can anyone offer any ideas or suggestions as to how to
>>>finish this so I can get this to work? Thanks for your help.

>>
>>http://www.tldp.org/HOWTO/IP-Masquer...WTO/index.html

>
>
> That document only goes up to 2.4 kernels.
> What about Fedora Core 3?
> The intros I've seen refer to out of date Linux versions.
>


Fedora Core 3 is in fact what I'm using, a problem I already have run
into while reading through the HowTo. Does anyone know of a more up to
date set? Thanks
 
Reply With Quote
 
Tom
Guest
Posts: n/a

 
      04-24-2005, 06:01 AM

"Lenard" <Lenard@127.0.0.1> wrote in message
news:Rwyae.3298$(E-Mail Removed) m...
> Grant Nosbush wrote:
>
> > I've been working on this for hours and haven't gotten very far so I'm
> > hoping someone can help me out. I'm trying to setup a basic network
> > at my home with the following configuration:
> >
> > DSL Modem
> > |
> > |
> > Linux Box
> > |
> > |
> > Wireless Hub
> > | \
> > Computer #1 Computer #2, etc
> >
> > The linux box has two NIC cards, one for the DSL modem and one for the
> > wireless hub. The DSL model has a built in DHCP server and the linux
> > box connects fine with address 10.0.0.3. I also setup a DHCP server
> > on the linux box for eth1 (the card connected to the wireless hub) and
> > have
> > gotten the wireless hub to connect to the linux box. The computers
> > connects to the wireless hub and I'm able to ping the linux box. The
> > problem is I can't access the internet from computers 1, 2, etc. Is
> > there another component I'm missing on the linux box? I have the ip
> > address for eth1 (linux box to wireless) set at 192.168.1.0. The
> > gateway in the dhcp server is also set at 192.168.1.0 for the wireless
> > hub to use. Can anyone offer any ideas or suggestions as to how to
> > finish this so I can get this to work? Thanks for your help.

>
> http://www.tldp.org/HOWTO/IP-Masquer...WTO/index.html



WRONG!!!


 
Reply With Quote
 
Buzzbomb
Guest
Posts: n/a

 
      04-24-2005, 09:18 AM
Brad Macpherson wrote:
> Lenard wrote:
>
>
>>Grant Nosbush wrote:
>>
>>
>>>I've been working on this for hours and haven't gotten very far so I'm
>>>hoping someone can help me out. I'm trying to setup a basic network
>>>at my home with the following configuration:
>>>
>>>DSL Modem
>>> |
>>> |
>>>Linux Box
>>> |
>>> |
>>>Wireless Hub
>>> | \
>>>Computer #1 Computer #2, etc
>>>
>>>The linux box has two NIC cards, one for the DSL modem and one for the
>>>wireless hub. The DSL model has a built in DHCP server and the linux
>>>box connects fine with address 10.0.0.3. I also setup a DHCP server
>>>on the linux box for eth1 (the card connected to the wireless hub) and
>>>have
>>> gotten the wireless hub to connect to the linux box. The computers
>>>connects to the wireless hub and I'm able to ping the linux box. The
>>>problem is I can't access the internet from computers 1, 2, etc. Is
>>>there another component I'm missing on the linux box? I have the ip
>>>address for eth1 (linux box to wireless) set at 192.168.1.0. The
>>>gateway in the dhcp server is also set at 192.168.1.0 for the wireless
>>>hub to use. Can anyone offer any ideas or suggestions as to how to
>>>finish this so I can get this to work? Thanks for your help.

>>
>>http://www.tldp.org/HOWTO/IP-Masquer...WTO/index.html
>>
>>

>
>
> Another tip would be that 192.168.1.0 is not a valid IP address for your
> machine - are you sure you don't mean 192.168.1.1 or 192.168.0.1?

(all 0's and all 1's as the host part of an IP address have special
meaning and should be avoided.)

Have you tried accessing the Internet from the Linux box, nslookup/host,
ping, lynx, wget etc just to make sure the links up and running properly.

If the Internet connection is working then the next step is to work out
how you want to foward traffic from your local LAN to the Internet.
Basic options are NAT/Masquerade or Proxy.

NAT basically passes all your LAN traffic through to the Internet but
changes the source address to you public Internet address rather than
your private LAN address. Generally done with iptables on Linux. The
advantage to this method is that it will handle pretty much any protocol
(with the possible exception of active ftp connections and other
protcols that assign inbound ports dynamically).

Proxying runs a server on the Linux box which accepts requests then
re-issues them. The benefit is that the request/results can be
manipulated (content/virus scanned etc). Done on a per protocol basis
and used mainly for web access.

If you're a relative beginner you might want to take a look at IPCop
(http://ipcop.org/) or Smoothwall (http://smoothwall.org/). Both are
firewall distributions with NAT & Proxying already built in. They
provide a boot iso image to get you up & running (careful - they both
wipe your hard drive as part of their install). The also have a web
based admin screen. If nothing else they will give you a good
understanding of what goes into a firewall type system and how its put
together.

B.

 
Reply With Quote
 
gary
Guest
Posts: n/a

 
      04-24-2005, 10:15 PM
Grant Nosbush wrote:

> I've been working on this for hours and haven't gotten very far so I'm
> hoping someone can help me out. I'm trying to setup a basic network at
> my home with the following configuration:
>
> DSL Modem
> |
> |
> Linux Box
> |
> |
> Wireless Hub
> | \
> Computer #1 Computer #2, etc
>
> The linux box has two NIC cards, one for the DSL modem and one for the
> wireless hub. The DSL model has a built in DHCP server and the linux
> box connects fine with address 10.0.0.3. I also setup a DHCP server on
> the linux box for eth1 (the card connected to the wireless hub) and have
> gotten the wireless hub to connect to the linux box. The computers
> connects to the wireless hub and I'm able to ping the linux box. The
> problem is I can't access the internet from computers 1, 2, etc. Is
> there another component I'm missing on the linux box? I have the ip
> address for eth1 (linux box to wireless) set at 192.168.1.0. The
> gateway in the dhcp server is also set at 192.168.1.0 for the wireless
> hub to use. Can anyone offer any ideas or suggestions as to how to
> finish this so I can get this to work? Thanks for your help.

Hi,

Grant, Is the Wireless a hub or Broadband wireless Router?


--
Regards and Godspeed,
Gary

The magic is in the Magician not the wand!

----== Posted via Newsfeeds.Com - Unlimited-Uncensored-Secure Usenet News==----
http://www.newsfeeds.com The #1 Newsgroup Service in the World! 120,000+ Newsgroups
----= East and West-Coast Server Farms - Total Privacy via Encryption =----
 
Reply With Quote
 
Robert
Guest
Posts: n/a

 
      04-25-2005, 01:06 AM
On Sat, 23 Apr 2005 15:37:16 -0500, Grant Nosbush wrote:

> The linux box has two NIC cards, one for the DSL modem and one for the
> wireless hub. The DSL model has a built in DHCP server and the linux
> box connects fine with address 10.0.0.3. I also setup a DHCP server on


[snip]

I seen you got a lot of good advice from the fine fokes here but one thing
I didn't see them tell you was to ensure that ip_forward is turned on in
/etc/sysctl.conf of the linux box.

I just finished setting up a firewall/router linux box and this set was
killing me. Not because I forgot to set it up but because of how I was
turning it on. The above file is the best way to do this.


--

Regards
Robert

Smile... it increases your face value!


----== Posted via Newsfeeds.Com - Unlimited-Uncensored-Secure Usenet News==----
http://www.newsfeeds.com The #1 Newsgroup Service in the World! 120,000+ Newsgroups
----= East and West-Coast Server Farms - Total Privacy via Encryption =----
 
Reply With Quote
 
 
 
Reply

Thread Tools
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off
Trackbacks are On
Pingbacks are On
Refbacks are Off


Similar Threads
Thread Thread Starter Forum Replies Last Post
Home Networking (Networking Newbie) - Wireless & Wired can they work together ? GeoffP Home Networking 3 07-20-2005 01:03 PM
[Reminder] Online chat with Networking & Devices VP about Networking in Longhorn Eddy Malik [MSFT] Wireless Networks 0 03-22-2005 03:27 AM
[Reminder] Online chat with Networking & Devices VP about Networking in Longhorn Eddy Malik [MSFT] Windows Networking 0 03-22-2005 03:27 AM
Wireless networking removed wired networking Rob Windows Networking 1 01-15-2004 03:47 AM
Re: dial up networking and virtual private networking components Mike M Windows Networking 0 09-23-2003 03:26 AM



1 2 3 4 5 6 7 8 9 10 11