Find the answer to your Linux question:
Results 1 to 5 of 5
Well, I have a NAT network.. The one who has IPtables and makes the NAT has the IP 192.168.42.112 and the PCs within the NAT have: 192.168.1.0 So, I got ...
Enjoy an ad free experience by logging in. Not a member yet? Register.
  1. #1
    Linux Engineer RobinVossen's Avatar
    Join Date
    Aug 2007
    Location
    The Netherlands
    Posts
    1,429

    NAT is weird, when I clone its invallid.


    Well, I have a NAT network..
    The one who has IPtables and makes the NAT has the IP 192.168.42.112 and the PCs within the NAT have: 192.168.1.0
    So, I got 192.168.1.1 working with NAT and well it just works.
    But when I tryed to enable the EXACT same thing for 192.168.1.11 it failed.
    Is there maybe a really easy program to setup and maintain nat?
    I really want this to work :/

    Cheers,
    Robin
    New Users, please read this..
    Google first, then ask..

  2. #2
    Linux User
    Join Date
    Jan 2005
    Location
    Arizona
    Posts
    288
    Can you ping 192.168.42.112? How about your ISP's DNS server?

    My guess would be you're relying on your ISP's DNS servers for name resolution, but the client at 192.168.1.11 is trying to get the DNS from the server you have masquerading (192.168.42.112). Have you set up DNS servers explicitly, or are you allowing it to default to 192.168.42.112?

    Did you accidently setup your iptables to be too restrictive?
    Michael Salivar

    Man knows himself insofar as he knows the world, becoming aware of it only in himself, and of himself only within it.
    --Goethe

  3. #3
    Linux Engineer RobinVossen's Avatar
    Join Date
    Aug 2007
    Location
    The Netherlands
    Posts
    1,429
    I can ping both the NAT (42.112) and the DNS (42.2) my resolve.conf file:
    nameserver 192.168.42.2

    Wierd..
    New Users, please read this..
    Google first, then ask..

  4. $spacer_open
    $spacer_close
  5. #4
    Just Joined! vigour's Avatar
    Join Date
    Oct 2007
    Posts
    68
    Quote Originally Posted by RobinVossen View Post
    I can ping both the NAT (42.112) and the DNS (42.2) my resolve.conf file:
    nameserver 192.168.42.2

    Wierd..
    Can you give us the output of iptables-save?

  6. #5
    Linux Engineer RobinVossen's Avatar
    Join Date
    Aug 2007
    Location
    The Netherlands
    Posts
    1,429
    Ok, fixed it..
    I found out that somebody changed the DNS.
    its not 192.168.42.2 anymore. But .1
    I really dont get why the people in this company dont comunicate with me..

    Anyhow,
    Thanks

    I found out since I didnt have any Domain name Solving on the Pcs on that network.
    New Users, please read this..
    Google first, then ask..

Posting Permissions

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