Find the answer to your Linux question:
Results 1 to 3 of 3
Hello, I have been trying to establish a network that involves a NAT box and Linsksys router. Here is the current setup: ================ I have a high speed internet connection ...
Enjoy an ad free experience by logging in. Not a member yet? Register.
  1. #1
    Just Joined!
    Join Date
    Oct 2005
    Posts
    3

    Networking involving a NAT box and Linksys router.


    Hello,
    I have been trying to establish a network that involves a NAT box and Linsksys router.

    Here is the current setup:
    ================
    I have a high speed internet connection (from wall outlet connected to eth0 of my NAT box - a Fedora Core 4 Linux box). eth0 is configured with a static IP. There is another network card eth1 in the NAT box that goes to the WAN port of a Linksys router (Model WRT54G). I have connected 2 other systems to this router using ethernet cables.

    Requirement:
    ========
    I need to access the internet from the computers connected to the Linksys router. (FYI, I want to use the wireless functionality provided by the router. If this was not the case, I could go ahead and use a swtich as you would all agree ).

    Current IP address assignment for these cards and router:
    =====================================
    NAT box:
    ----------
    eth0 - Static IP
    Mask - 255.255.255.248
    Gateway - 65.182.61.41
    DNS 1- 65.182.32.35
    DNS 2 -65.182.32.146

    eth1 - 192.168.100.1
    Mask - 255.255.255.0
    Gateway - eth0
    DNS 1- 65.182.32.35
    DNS 2 -65.182.32.146

    Linksys Router -
    a) (as seen from outside)
    (assigned a static IP)
    192.168.100.2
    Mask - 255.255.255.0
    Gateway - 192.168.100.1
    DNS 1- 65.182.32.35
    DNS 2 -65.182.32.146

    b) Router IP - 192.168.101.1
    Mask - 255.255.255.0

    Computer 1 connected to the router - 192.168.101.2
    Mask - 255.255.255.0
    Gateway - 192.168.101.1
    DNS 1- 65.182.32.35
    DNS 2 -65.182.32.146

    Note:
    a) With this setup, I am able to ping to 192.168.101.2, 192.168.101.1, 192.168.100.2, 192.168.100.1 and to the static IP assigned by the ISP( that is of eth0).

    b) I have created IP tables that will allow traffic from internal n/w.

    c) I am not able to access the internet from the m/cs connected to the router.


    HELP WANTED:
    ==========
    If anyone can help me with the configuration, I would greatly appreciate this. Or if you can direct me to any resources that talks about this kind of stuff, I can read them.

    Thank you






  2. #2
    Just Joined!
    Join Date
    Mar 2008
    Posts
    6
    Is there an easy tutorial on this anywhere... I am having the same adventure... Everything can ping everything internally - but, the only box that can reach the "outside" is the router box...

  3. #3
    Linux Guru Lazydog's Avatar
    Join Date
    Jun 2004
    Location
    The Keystone State
    Posts
    2,677
    What does your firewall rules look like that allow traffic out and the replies back in?

    Regards
    Robert

    Linux
    The adventure of a life time.

    Linux User #296285
    Get Counted

  4. $spacer_open
    $spacer_close

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •