Re: OT: Setting a CentOS to gateway a private IP address

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



James B. Byrne wrote:

>From any other host on 2xx.1xx.y7y.0/24 I cannot ping 192.168.219.102
>
> What setup steps on the CentOS host have I overlooked or what
> configuration errors have I committed?

Seems like your trying to route through the linux box? Have you
enabled ip forwarding and checked your iptables ruleset to make
sure that either the default policy is ACCEPT or that you have
specific rules in there that allow forwarding?

[root@dc1-rhel5-32build001:~]# cat /proc/sys/net/ipv4/ip_forward
0
[root@dc1-rhel5-32build001:~]# iptables -L -n
Chain INPUT (policy ACCEPT)
target     prot opt source               destination

Chain FORWARD (policy ACCEPT)
target     prot opt source               destination

Chain OUTPUT (policy ACCEPT)
target     prot opt source               destination
[root@dc1-rhel5-32build001:~]#


In the above case ip forwarding is disabled and the default
policy is ACCEPT.

nate

_______________________________________________
CentOS mailing list
CentOS@xxxxxxxxxx
http://lists.centos.org/mailman/listinfo/centos

[Index of Archives]     [CentOS]     [CentOS Announce]     [CentOS Development]     [CentOS ARM Devel]     [CentOS Docs]     [CentOS Virtualization]     [Carrier Grade Linux]     [Linux Media]     [Asterisk]     [DCCP]     [Netdev]     [Xorg]     [Linux USB]
  Powered by Linux