Discussion Locked

Router on RH 6.2 and 7.0

0 helpful
7 replies
Closed to new repliesThis discussion is closed. It stays readable, but it takes no new replies.

Hi,

I wish to configure a software router on RH 6.2 and RH 7.0 using three NICs. This router is meant for managing the internal IP addresses, so as to make the different class C network transparent.

Would appreciate, if a step by step procedure is detained?

Thanks

Amal

7 replies

by jeteng

In your instance, assign class C addresses to the NICs not connected to the network: 192.168.0.x and 192.168.1.x. The NIC that is to be connected to the Internet should have an IP issued by your provider. Assure that the NICs are working properlythen issue the following commands: ipchains -F; ipchains -P input DENY; ipchains -P output DENY; ipchains -P forward DENY; ipchains -M -S 36000 0 0; echo 1 > /proc/sys/net/ipv4/ip_forward; ipchains -A foward -i eth0 -s LOCAL_NET -j MASQ. This will get routing working. If you want to use the PC only as a router please check out www.fresco.com. To learn to setup routing and firewall protection, check out www.linux-tools.com. Good luck.

This discussion is closed to new replies.