This is a discussion on Port forwarding, dmz , 3 network cards and a quake3 server -=- Long-=- within the Linux Networking forums, part of the Linux Forums category; help! I am running ClarkConnect 2.0 based on rhat 9.0. In this box I have 3 network cards. ...
|
|||||||
| FAQ | Members List | Calendar | Search | Today's Posts | Mark Forums Read |
|
|||
|
help!
I am running ClarkConnect 2.0 based on rhat 9.0. In this box I have 3 network cards. I am running SuSE 8.2 in the second box running as a quake3 server. Here is my ifconfig output from the ClarkConnect box: <------------------------------------begining - ifconfig------------------------------------> eth0 Link encap:Ethernet HWaddr 00:60:67:22:93:7F inet addr:68.185.136.132 Bcast:255.255.255.255 Mask:255.255.248.0 UP BROADCAST RUNNING MULTICAST MTU:1500 Metric:1 RX packets:3148347 errors:0 dropped:0 overruns:0 frame:3413 TX packets:205149 errors:0 dropped:0 overruns:0 carrier:0 collisions:0 txqueuelen:100 RX bytes:218515367 (208.3 Mb) TX bytes:260157520 (248.1 Mb) Interrupt:9 Base address:0xe000 eth1 Link encap:Ethernet HWaddr 00:0C:41:20:5F:1C inet addr:192.168.1.1 Bcast:192.168.1.255 Mask:255.255.255.0 UP BROADCAST RUNNING MULTICAST MTU:1500 Metric:1 RX packets:0 errors:0 dropped:0 overruns:0 frame:0 TX packets:723 errors:0 dropped:0 overruns:0 carrier:0 collisions:0 txqueuelen:100 RX bytes:0 (0.0 b) TX bytes:131306 (128.2 Kb) Interrupt:5 Base address:0x7000 eth2 Link encap:Ethernet HWaddr 00:0C:41:23:07:F0 inet addr:192.168.1.2 Bcast:192.168.1.255 Mask:255.255.255.0 UP BROADCAST RUNNING MULTICAST MTU:1500 Metric:1 RX packets:23782 errors:0 dropped:0 overruns:0 frame:0 TX packets:21072 errors:0 dropped:0 overruns:0 carrier:0 collisions:0 txqueuelen:100 RX bytes:1917704 (1.8 Mb) TX bytes:11720568 (11.1 Mb) Interrupt:11 Base address:0x9000 <-------------------------------ifconfig -end-------------------------------------------> eth0 is connected to my cable modem and uses dhcp client to get its ip address from charter.net eth1 is my 2nd card that connects to a 24 port switch to let the internal network connect to the internet. eth2 is my 3rd network card that is supposed to connect to my quake3 server box. here is the output of route -e -n -v <-----------------------begining - route--------------------------------> [root@firewall etc]# route -e -n -v Kernel IP routing table Destination Gateway Genmask Flags MSS Window irtt Iface 192.168.1.0 0.0.0.0 255.255.255.0 U 0 0 0 eth2 192.168.1.0 0.0.0.0 255.255.255.0 U 0 0 0 eth2 68.185.136.0 0.0.0.0 255.255.248.0 U 0 0 0 eth0 169.254.0.0 0.0.0.0 255.255.0.0 U 0 0 0 eth2 127.0.0.0 0.0.0.0 255.0.0.0 U 0 0 0 lo 0.0.0.0 68.185.136.1 0.0.0.0 UG 0 0 0 eth0 <------------------------------------end - route---------------------------------------------> I have tried several ways to get the 3rd nic to talk to the one and only nic in my quake3 server. here is the ifconfig output from the quake3 server: <-----------------------------------begining - ifconfig-------------------------------------------> eth0 Link encap:Ethernet HWaddr 00:0C:41:20:EC:8E inet addr:192.168.1.3 Bcast:192.168.1.255 Mask:255.255.255.0 inet6 addr: fe80::20c:41ff:fe20:ec8e/64 Scope:Link UP BROADCAST RUNNING MULTICAST MTU:1500 Metric:1 RX packets:20137 errors:0 dropped:0 overruns:0 frame:0 TX packets:6320 errors:8 dropped:0 overruns:0 carrier:16 collisions:0 txqueuelen:100 RX bytes:1574517 (1.5 Mb) TX bytes:581890 (568.2 Kb) Interrupt:10 Base address:0xc800 <-------------------------------------end - ifconfig------------------------------------------> Here is the output of route -e -n -v on quake3 server: <------------------------------------begining - route-----------------------------------------------> Kernel IP routing table Destination Gateway Genmask Flags MSS Window irtt Iface 192.168.1.0 0.0.0.0 255.255.255.0 U 0 0 0 eth0 0.0.0.0 192.168.1.1 0.0.0.0 UG 0 0 0 eth0 <-------------------------------------end - route-----------------------------------------------> As you can see the gateway on the quake3 server is the same gateway I use for all my computers: 192.168.1.1 Now, I have also set up port forwarding on the ClarkConnect box, here is the output: ( yes I probably have way too many entries for the port forwarding, but I added all the possible ways I could think of to route my quake3 server through the ClarkConnect box). <------------------------------------begining - port forward-------------------------------------> Configure Port Forwarding Nickname Service Protocol From Port To Port To IP Action quake3 TCP 27960 : 27969 27960 : 27969 68.185.136.132 quake3_server TCP 27960 : 27969 27960 : 27969 192.168.1.3 quake3server UDP 27960 : 27969 27960 : 27969 68.185.136.132 quake3_2 UDP 27960 : 27969 27960 : 27969 192.168.1.3 <-----------------------------------------end - port forward-----------------------------------------------> Now, I have tried a few things... 1. I tried to use a patch cable.. (at least that is what the package said it was) and a cross-over cable.. to connect the 3rd network card in the ClarkConnect box to the primary network card on the quake3 server. They would not ping each other, or the network. (from the quake3 server). 2. I tried to use 2 known good cables from 2 brand new linksys ethernet cards, To connect the 3rd network card in the ClarkConnect box to a switch all by itself and the primary network card in the quake3 server box to the same switch. They still would not talk to each other, ping each other, or give a network connection to the quake3 box. 3. If I plug the network card in the quake3 server box into the 24 port network switch, it talks to the internal network and to the outside world. 4. The ClarkConnect box is setup to see 3 network cards as seen in the /etc/modules.conf <------------------------------------------begining - /etc/modules.conf-----------------------------------> cat /etc/modules.conf alias eth0 ne2k-pci alias eth1 tulip alias eth2 tulip <-----------------------------------------end - /etc/modules.conf------------------------------------> I want to set this box (quake3 server) up to be on the dmz with port forwarding to the outside world, so my quake3 server shows up in online quake3 server lists. (This is so the [CLlug] clan can get stats, which are posted on numerous stat pages on the internet). And, so when I host a Lan party next Saturday, other cllug.org members can log on and play with us too, esp. those that cant make it.. I tried to set the quake3 server box up to get it's ip address via dhcp, but for some reason the ClarkConnect box is not handing out dhcp addresses. <-------------------------------------------begining - ps -aux | grep dhcpd---------------------------------> [root@firewall etc]# ps -aux | grep dhcpd root 2356 0.0 0.0 2272 76 ? S 12:16 0:00 /usr/sbin/dhcpd eth1 nobody 2702 0.0 0.0 1380 4 ? S 12:17 0:00 /usr/sbin/dnsmasq -l /var/lib/dhcp/dhcpd.leases root 14433 0.0 0.4 3504 624 pts/0 S 18:45 0:00 grep dhcpd <---------------------------------------------end - ps -aux | grep dhcpd--------------------------------> Could someone please help me!? All the network cards in all the computers are brand new, and work fine. I could probably change out the 3rd network card in the ClarkConnect box for another new one, just for poops and giggles.. but I dont think that will solve the problem, I.E. lights on network card come on.. rhat's hardware detection program found the new network card on first boot, after installation of said new network card. The quake3 server box has used, SuSE 8.2, Slackware 9.1, FBSD 5.1 and FBSD 4.8, nothing fixes the problem. Please help. further info can be given on request. Thank you John john_nospam@cllug.org |