RE: Routing... [Semi OT]

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

 



The Windows box uses 192.168.0.1 as it's default gateway
The Linux box uses 10.0.0.1 as it's default gateway.

Make sure the windows machine is set to forward/route traffic.
You may need to enable routing and remote access.

All done.  

Rgds,
Darryl


> -----Original Message-----
> From: Pete Nesbitt [mailto:pete@xxxxxxxxx]
> Sent: Tuesday, November 25, 2003 1:45 PM
> To: redhat-list@xxxxxxxxxx
> Subject: Re: Routing... [Semi OT]
> 
> 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



The information contained in this email message and any attachments
may be confidential and may also be the subject of legal professional
privilege.  If you are not the intended recipient of this email, any
disclosure or copying of this material is unauthorised and prohibited.
Please notify me by return email.


-- 
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