Re: Routing... [Semi OT]

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



On November 24, 2003 01:20 am, Stuart Stephen wrote:
> talk2UtimeHi,
>
> I have a machine which is on a Wireless network running windows 2000
> server, I want this to act as the gateway to the internet for my Linux box.
> I'm not very clued up on routing and how it works and wondered what the
> routing tables should look like on each machine to enable my setup to work
> and how this should be enabled.
>
> The setup I have is:
>
>  [Redhat 9 - IP:10.0.0.2 / SN:255.255.240.0] Eth0
>
>                             | ethernet (hubbed)
>
>  [ Windows 2K Svr IP: 10.0.0.1 / SN:255.255.240.0]  Nic 1
>  [ Windows 2K Svr IP: 192.168.0.3 / SN:255.255.255.0 ] Nic 2
>
>                             | wireless
>
>  [Broadband Router IP:192.168.0.1 / SN:255.255.255.0]
>
>                       [INTERNET]
>
> If anyone can help with this then that would be great.
>
> Thanks in advance,
> Stuart

Hi,
I can't help with how windows does networking (I'll resist all the sarcasm:) 
but you should set the Linux box to:
1) use 10.0.0.1 as its default gateway
2) edit /etc/resolv.conf to show your ISP's dns server (or whichever you use)
3) I like to edit /etc/hosts and split the first line:
  (I don't know that it is needed, but it makes more sense) 
  from (default):
     127.0.0.1   yourbox.yourdomain yourbox localhost.localdomain localhost
to: 127.0.0.1  localhost.localdomain   localhost
     10.0.0.2   yourbox.yourdomain   yourbox

>From there, if you can ping 192.168.0.3 from your linux box, Windows is 
routing.

-- 
Pete Nesbitt, rhce


-- 
redhat-list mailing list
unsubscribe mailto:redhat-list-request@xxxxxxxxxx?subject=unsubscribe
https://www.redhat.com/mailman/listinfo/redhat-list

[Index of Archives]     [CentOS]     [Kernel Development]     [PAM]     [Fedora Users]     [Red Hat Development]     [Big List of Linux Books]     [Linux Admin]     [Gimp]     [Asterisk PBX]     [Yosemite News]     [Red Hat Crash Utility]


  Powered by Linux