Using CentOS 4.8 because I'm using an older EPIA board.
Anyway, 2 NICS, with eth0 running PPPoE with a DSL modem and eth1 running a static IP. I have 'net access from the CentOS machine no problem but cannot get IP Masquerading/NAT to work. I do run dhcpd on this machine as well and that does work fine with several Windows machines on the LAN.
I have gone over things with a fine tooth comb, tried all the various articles (seemingly everywhere) in setting up a basic iptables configuration
route -n shows
[code]
[root@localhost etc]# route -n
Kernel IP routing table
Destination Gateway Genmask Flags Metric Ref Use Iface
192.168.1.0 0.0.0.0 255.255.255.0 U 0 0 0 eth1
169.254.0.0 0.0.0.0 255.255.0.0 U 0 0 0 eth1
[/code][Moderator edit: Added [i]code[/i] tags to preserve formatting.]
Help
Can't get NAT to work
-
- Posts: 10642
- Joined: 2005/08/05 15:19:54
- Location: Northern Illinois, USA
Can't get NAT to work
You have no gateway defined ( no default route ).
-
- Retired Moderator
- Posts: 18276
- Joined: 2006/12/13 20:15:34
- Location: Tidewater, Virginia, North America
- Contact:
Re: Can't get NAT to work
Welcome to the CentOS fora. Please see the recommended reading for new users linked in my signature.
[quote]
KenHorse wrote:
Using CentOS 4.8 because I'm using an older EPIA board.[/quote]
You should at least "yum update" to 4.9 + subsequent errata before [url=http://lists.centos.org/pipermail/centos-announce/2011-December/018285.html]CentOS-4 EOL[/url] and come up with a plan for the after-life.
[quote]
KenHorse wrote:
Using CentOS 4.8 because I'm using an older EPIA board.[/quote]
You should at least "yum update" to 4.9 + subsequent errata before [url=http://lists.centos.org/pipermail/centos-announce/2011-December/018285.html]CentOS-4 EOL[/url] and come up with a plan for the after-life.