1Gb Linux Router
Robert Skogstad <[email protected]> Mon, 10 Mar 2003 13:16:20 -0500
| Newsgroups | gmane.linux.linux-router |
|---|---|
| Message-ID | <BC256D8A433ED511838200B0D078C771AE8397@netserver> |
I am a new Linux user (RedHat 8.0) and have sever performance problems. I am using this Linux box with two 1Gb NICs connected to two separate 1Gb VLAN ports on a 3Com switch. The purpose is to route between two LANs. I am experiencing very poor performance and would like some advice on configuration. I am currently using only two iptables commands to route traffic. NIC 1 - eth0 IP 10.0.10.100 Subnet 255.255.0.0 Default Gateway 10.0.10.10 (Cisco Router for Internet and VPN connections) NIC 2- eth1 IP 10.10.10.100 Subnet 255.255.0.0 Default Gateway 10.0.10.100 iptables -A FORWARD -s 10.10.0.0/16 -d! 10.10.0.0/16 -i eth1 -o eth0 iptables -A FORWARD -s 10.0.0.0/16 -d! 10.0.0.0/16 -i eth0 -o eth1 Is there a better way to do this? Any suggestions? Robert Skogstad IS Manager Federal APD, Inc. Voice (248) 374-9600 FAX (248) 374-9610 _______________________________________________ linux-router maillist - [email protected] http://www.linuxrouter.org/mailman/listinfo/linux-router