RE: Routing... [Semi OT]

From: Darryl Harvey (dharvey_at_connect.com.au)
Date: 11/25/03

  • Next message: Pete Nesbitt: "Re: Problems connecting to the internet"
    To: <redhat-list@redhat.com>
    Date: Tue, 25 Nov 2003 13:50:10 +1100
    
    

    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@linux1.ca]
    > Sent: Tuesday, November 25, 2003 1:45 PM
    > To: redhat-list@redhat.com
    > 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@redhat.com?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@redhat.com?subject=unsubscribe
    https://www.redhat.com/mailman/listinfo/redhat-list
    

  • Next message: Pete Nesbitt: "Re: Problems connecting to the internet"

    Relevant Pages

    • RE: SMBRelay issues
      ... Run Windows NT or 2000 on one, ... Linux system to ARP route IP traffic to the default network segment gateway. ... What your are actually doing is telling the target ...
      (Pen-Test)
    • Re: DSL works, almost
      ... Thanks David, ... gateway, with my gateway being told it's a gateway... ... > Yes, if the modem was in bridge mode, your Linux would have to masquerade ... >>routing table show. ...
      (comp.os.linux.networking)
    • Re: using linux with windows internet connection sharing
      ... > machine to connect the network to the internet via a usb DSL modem. ... > the windows machine seems to be working right as a DNS relay (it returned ... > Pinging the gateway machine does work. ... > Just want to know if there are any known problems with setting up linux ...
      (comp.os.linux.misc)
    • Re: [opensuse] Would like explanation from networking guru
      ... And 192.168.11.1 is the gateway between Linux network and Windows ... How do you get that 192.168.11.1 is gateway to the Windows network? ...
      (SuSE)
    • RE: how to use netcat as gateway?
      ... On Thursday, June 06, 2002 2:07 AM, Brian wrote: ... > Why would want to use Windows 98 as a gateway? ... I think that's the same as NAT (IP Masqeurading in linux). ...
      (Security-Basics)