Skip to contentSkip to conversation

Network Communication Issues

DISCUSSION Jacob Lear 4 participants 7 messages Dec 12, 2007 – Dec 14, 2007

lore
Share & tools
lore

Jacob Lear

author
#0 lore raw

I'm having some problems with my network. I'm not sure if this is a firewall problem or a network/hardware problem. Here's the backgrund:

We originally had a single 192.168.2.X subnet and they used a Linux server (Red Hat EL 4 x64) as their router for the Internet. The router had a NIC eth0 for the WAN/Internet and eth1 for the LAN (192.168.2.1). I was having issues with my backups on that server in that the backup server would lose its connection to the router for a few seconds and then it'd come back. To remedy this (hopefully) I added a separate network strictly for backups.

All of our servers have a second NIC so I created a second network and added all of the servers to it, including the router. The subnet is 192.168.1.X. I used the same subnet mask of 255.255.255.0 and left the gateway entry blank. All of the servers can communicate with each other just fine, except the Linux router.

The problem is that communication with the Linux router isn't working properly. I cannot ping the router from the other servers, but I CAN ping the other servers from the router; however I receive a message in every ping reply that says "wrong data byte #XX should be 0xXZ but was 0xXY".

What's even more strange is that I can ping the router's SAN NIC (192.168.1.1) from my workstation which is on the main subnet just fine, as well as the other servers on the SAN.

I've done some searching on the net and most people say that the common cause of something like this is a firewall. The router is running iptables for its firewall and for NAT. I've added entries to permit all internal traffic and checked the log (it displays a message in syslog when it rejects a packet) but it's not rejecting the traffic. None of the other servers are running a firewall.

Here's the routing table from one of the Windows servers:

IPv4 Route Table
===========================================================================
Interface List
0x1 ........................... MS TCP Loopback interface 0x10003 ...00 13 72 53 09 02 ...... Intel(R) PRO/1000 MT Network Connection #2
0x10004 ...00 13 72 53 09 01 ...... Intel(R) PRO/1000 MT Network Connection
===========================================================================
===========================================================================
Active Routes:
Network Destination Netmask Gateway Interface Metric
0.0.0.0 0.0.0.0 192.168.2.1 192.168.2.11 10
127.0.0.0 255.0.0.0 127.0.0.1 127.0.0.1 1
192.168.1.0 255.255.255.0 192.168.1.11 192.168.1.11 10 192.168.1.11 255.255.255.255 127.0.0.1 127.0.0.1 10 192.168.1.255 255.255.255.255 192.168.1.11 192.168.1.11 10 192.168.2.0 255.255.255.0 192.168.2.11 192.168.2.11 10 192.168.2.11 255.255.255.255 127.0.0.1 127.0.0.1 10 192.168.2.255 255.255.255.255 192.168.2.11 192.168.2.11 10 224.0.0.0 240.0.0.0 192.168.1.11 192.168.1.11 10
224.0.0.0 240.0.0.0 192.168.2.11 192.168.2.11 10 255.255.255.255 255.255.255.255 192.168.1.11 192.168.1.11 1 255.255.255.255 255.255.255.255 192.168.2.11 192.168.2.11 1 Default Gateway: 192.168.2.1
===========================================================================
Persistent Routes:
None

And here's the routing table from the Linux router:

Kernel IP routing table
Destination Gateway Genmask Flags Metric Ref Use Iface 66.241.66.224 * 255.255.255.240 U 0 0 0 eth0 192.168.2.0 * 255.255.255.0 U 0 0 0 eth1 192.168.1.0 * 255.255.255.0 U 0 0 0 eth2 169.254.0.0 * 255.255.0.0 U 0 0 0 eth2 default 66.241.66.225 0.0.0.0 UG 0 0 0 eth0

And here's the iptables firewall script:

#!/bin/sh
#---------------------------------------------------------------------------
------------

# iptables script
# By: Jacob Lear
#---------------------------------------------------------------------------
------------

# Variables
IPTABLES="/sbin/iptables"
INET_IFACE="eth0"
LAN_IFACE="eth1"
SAN_IFACE="eth2"
VPN_SVR="192.168.2.14"
MAIL_SVR="192.168.2.19"
PDM_SVR="192.168.2.11"
BCK_SVR="192.168.1.10"

# Clear the existing rules and chains
$IPTABLES -F
$IPTABLES -F INPUT
$IPTABLES -F OUTPUT
$IPTABLES -F FORWARD
$IPTABLES -F -t mangle
$IPTABLES -F -t nat
$IPTABLES -X

# INPUT default action set to DROP
$IPTABLES -P INPUT DROP

# FORWARD default action set to ACCEPT
$IPTABLES -P FORWARD ACCEPT

# OUTPUT default action set to ACCEPT
$IPTABLES -P OUTPUT ACCEPT
$IPTABLES -t nat -P OUTPUT ACCEPT

# PREROUTING default action set to ACCEPT
$IPTABLES -t nat -P PREROUTING ACCEPT

# POSTROUTING default action set to ACCEPT
$IPTABLES -t nat -P POSTROUTING ACCEPT

# To be able to forward traffic from your LAN

# to the Internet, we need to tell the kernel
# to allow ip forwarding
echo 1 > /proc/sys/net/ipv4/ip_forward

# Here we define a new chain which is going to handle

# packets we don't want to respond to
# limit the amount of logs to 10/min
$IPTABLES -N Firewall
$IPTABLES -A Firewall -m limit --limit 10/minute -j LOG --log-prefix
"Firewall: "
$IPTABLES -A Firewall -j DROP
# log those packets and inform the sender that the packet was rejected
$IPTABLES -N Rejectwall
$IPTABLES -A Rejectwall -m limit --limit 10/minute -j LOG --log-prefix
"Rejectwall: "
$IPTABLES -A Rejectwall -j REJECT
# use the following instead if you want to simulate that the host is not
reachable
# for fun though
#$IPTABLES -A Rejectwall -j REJECT --reject-with icmp-host-unreachable
# here we create a chain to deal with illegitimate packets
# and limit the number of alerts to 10/min
# packets will be drop without informing the sender
$IPTABLES -N Badflags
$IPTABLES -A Badflags -m limit --limit 10/minute -j LOG --log-prefix
"Badflags: "
$IPTABLES -A Badflags -j DROP

#---------------- INPUT chain (packets destined for firewall)
-----------------------

# Allow local loopback traffic
$IPTABLES -A INPUT -i lo -j ACCEPT

# Allow LAN/SAN traffic destined for firewall
$IPTABLES -A INPUT -i $LAN_IFACE -j ACCEPT
$IPTABLES -A INPUT -i $SAN_IFACE -j ACCEPT

# A list of well known combination of Bad TCP flags

# we redirect those to the Badflags chain
# which is going to handle them (log and drop)
$IPTABLES -A INPUT -p tcp --tcp-flags ACK,FIN FIN -j Badflags
$IPTABLES -A INPUT -p tcp --tcp-flags ACK,PSH PSH -j Badflags
$IPTABLES -A INPUT -p tcp --tcp-flags ACK,URG URG -j Badflags
$IPTABLES -A INPUT -p tcp --tcp-flags FIN,RST FIN,RST -j Badflags
$IPTABLES -A INPUT -p tcp --tcp-flags SYN,FIN SYN,FIN -j Badflags
$IPTABLES -A INPUT -p tcp --tcp-flags SYN,RST SYN,RST -j Badflags
$IPTABLES -A INPUT -p tcp --tcp-flags ALL ALL -j Badflags
$IPTABLES -A INPUT -p tcp --tcp-flags ALL NONE -j Badflags
$IPTABLES -A INPUT -p tcp --tcp-flags ALL FIN,PSH,URG -j Badflags
$IPTABLES -A INPUT -p tcp --tcp-flags ALL SYN,FIN,PSH,URG -j Badflags
$IPTABLES -A INPUT -p tcp --tcp-flags ALL SYN,RST,ACK,FIN,URG -j Badflags

# Block bad people
$IPTABLES -A INPUT -s 66.232.128.103 -j Rejectwall $IPTABLES -A INPUT -s 62.143.255.133 -j Rejectwall $IPTABLES -A INPUT -s 58.210.253.101 -j Rejectwall $IPTABLES -A INPUT -s 60.248.76.6 -j Rejectwall $IPTABLES -A INPUT -s 65.254.53.96 -j Rejectwall

# Accept certain icmp message, drop the others

# and log them through the Firewall chain
# 0 => echo reply
$IPTABLES -A INPUT -p icmp --icmp-type 0 -j ACCEPT
# 3 => Destination Unreachable
$IPTABLES -A INPUT -p icmp --icmp-type 3 -j ACCEPT
# 11 => Time Exceeded
$IPTABLES -A INPUT -p icmp --icmp-type 11 -j ACCEPT
# 8 => Echo
# avoid ping flood
$IPTABLES -A INPUT -p icmp --icmp-type 8 -m limit --limit 1/second -j ACCEPT
$IPTABLES -A INPUT -p icmp -j Firewall

# Allow SMTP traffic
$IPTABLES -A INPUT -p tcp --dport 25 -j ACCEPT
$IPTABLES -A INPUT -p udp --dport 25 -j ACCEPT
$IPTABLES -A INPUT -p tcp --dport 465 -j ACCEPT
$IPTABLES -A INPUT -p udp --dport 465 -j ACCEPT

# Allow POP3/POP3S traffic
$IPTABLES -A INPUT -p tcp --dport 110 -j ACCEPT
$IPTABLES -A INPUT -p udp --dport 110 -j ACCEPT
$IPTABLES -A INPUT -p tcp --dport 995 -j ACCEPT
$IPTABLES -A INPUT -p udp --dport 995 -j ACCEPT

# Allow DNS traffic
$IPTABLES -A INPUT -p udp --dport 53 -j ACCEPT
$IPTABLES -A INPUT -p tcp --dport 53 -j ACCEPT

# Allow SSH and Webmin traffic to firewall host
$IPTABLES -A INPUT -p tcp --dport 22 -j ACCEPT
$IPTABLES -A INPUT -p udp --dport 22 -j ACCEPT
$IPTABLES -A INPUT -p tcp --dport 10001 -j ACCEPT
$IPTABLES -A INPUT -p udp --dport 10001 -j ACCEPT

# Accept related and established connections
$IPTABLES -A INPUT -m state --state RELATED,ESTABLISHED -j ACCEPT

# Drop netbios from the outside, no log, just drop $IPTABLES -A INPUT -p udp --sport 137 --dport 137 -j DROP

# Finally, anything which was not allowed yet

# is going to go through our Rejectwall rule
$IPTABLES -A INPUT -j Rejectwall

#--------------- FORWARD chain (packets routing through)
---------------------------

# Allow LAN/SAN traffic through
$IPTABLES -A FORWARD -i $LAN_IFACE -j ACCEPT
$IPTABLES -A FORWARD -i $SAN_IFACE -j ACCEPT

# Allow WAN traffic through that was initiated by LAN hosts $IPTABLES -A FORWARD -m state --state ESTABLISHED,RELATED -j ACCEPT

# Allow VPN protocols and ports through
$IPTABLES -A FORWARD -i $LAN_IFACE -p tcp --sport 1723 --dport 1024: -s $VPN_SVR -m state --state ESTABLISHED,RELATED -j ACCEPT $IPTABLES -A FORWARD -i $LAN_IFACE -p 47 -s $VPN_SVR -m state --state NEW,ESTABLISHED,RELATED -j ACCEPT
$IPTABLES -A FORWARD -i $INET_IFACE -p tcp --dport 1723 -d $VPN_SVR -m state --state NEW,ESTABLISHED,RELATED -j ACCEPT
$IPTABLES -A FORWARD -i $INET_IFACE -p 47 -d $VPN_SVR -m state --state NEW,ESTABLISHED,RELATED -j ACCEPT

$IPTABLES -A FORWARD -i $LAN_IFACE -s $VPN_SVR -p udp --sport 1723 -j ACCEPT $IPTABLES -A FORWARD -i $INET_IFACE -d $VPN_SVR -p udp --dport 1723 -j ACCEPT

$IPTABLES -A FORWARD -i $LAN_IFACE -s $VPN_SVR -p tcp --sport 42 -j ACCEPT $IPTABLES -A FORWARD -i $LAN_IFACE -s $VPN_SVR -p udp --sport 42 -j ACCEPT $IPTABLES -A FORWARD -i $INET_IFACE -d $VPN_SVR -p tcp --dport 42 -j ACCEPT $IPTABLES -A FORWARD -i $INET_IFACE -d $VPN_SVR -p udp --dport 42 -j ACCEPT

# Allow Intranet Access traffic through
$IPTABLES -A FORWARD -d $PDM_SVR -p tcp --dport 80 -j ACCEPT $IPTABLES -A FORWARD -d $PDM_SVR -p tcp --dport 443 -j ACCEPT

# Allow certain protocols and ports through to specific hosts # Allow eMule to Jake's PC
$IPTABLES -A FORWARD -d 192.168.2.254 -p tcp --dport 58079 -j ACCEPT $IPTABLES -A FORWARD -d 192.168.2.254 -p udp --dport 48264 -j ACCEPT

# Do not allow new or invalid connections to reach your internal network $IPTABLES -A FORWARD -i $INET_IFACE -m state --state NEW,INVALID -j DROP

# Final entry in FORWARD chain
$IPTABLES -A FORWARD -i $INET_IFACE -j LOG

#----------------------- NAT PREROUTING chain
-----------------------------------------

# Anti-Spoofing entries
$IPTABLES -t nat -A PREROUTING -i $INET_IFACE -s 10.0.0.0/8 -j DROP $IPTABLES -t nat -A PREROUTING -i $INET_IFACE -s 172.16.0.0/12 -j DROP $IPTABLES -t nat -A PREROUTING -i $INET_IFACE -s 192.168.0.0/16 -j DROP $IPTABLES -t nat -A PREROUTING -i $INET_IFACE -s 127.0.0.0/8 -j DROP $IPTABLES -t nat -A PREROUTING -i $INET_IFACE -s 224.0.0.0/4 -j DROP

# VPN
$IPTABLES -t nat -A PREROUTING -i $INET_IFACE -p 47 -j DNAT --to-destination $VPN_SVR
$IPTABLES -t nat -A PREROUTING -i $INET_IFACE -p tcp --dport 1723 -j DNAT --to-destination $VPN_SVR

# Intranet Web Access
$IPTABLES -t nat -A PREROUTING -i $INET_IFACE -p tcp --dport 80 -j DNAT --to $PDM_SVR:80
$IPTABLES -t nat -A PREROUTING -i $INET_IFACE -p tcp --dport 443 -j DNAT --to $PDM_SVR:443

# eMule to Jake's PC
$IPTABLES -t nat -A PREROUTING -i $INET_IFACE -p tcp --dport 58079 -j DNAT --to 192.168.2.254:58079
$IPTABLES -t nat -A PREROUTING -i $INET_IFACE -p udp --dport 48264 -j DNAT --to 192.168.2.254:48264

#------------------------ NAT POSTROUTING chain
----------------------------------------

# VPN
$IPTABLES -t nat -A POSTROUTING -o $INET_IFACE -p tcp --sport 1723 -s $VPN_SVR -d ! 192.168.0.0/16 -j SNAT --to-source $VPN_SVR

# Masquerade outgoing packets
$IPTABLES -t nat -A POSTROUTING -o $INET_IFACE -j MASQUERADE

If anyone has any ideas or suggestions, I'd greatly appreciate some help. I'm pretty much at a loss at this point. All I can think of is that maybe there's something wrong with the NIC... but that doesn't really make sense since I can ping it just fine from this workstation.

Thanks in advance,

Jacob.

#1 lore raw
Quoted 1 line · Jacob Lear

The problem is that communication with the Linux router isn't working properly. I cannot ping the router from the other servers, but I CAN ping the other servers from the router; however I receive a message in every ping reply that says "wrong data byte #XX should be 0xXZ but was 0xXY".

Can we see the actual error message rather than a sanitized one?

Quoted 3 lines

What's even more strange is that I can ping the router's SAN NIC (192.168.1.1) from my workstation which is on the main subnet just fine, as well as the other servers on the SAN.

I've done some searching on the net and most people say that the common cause of something like this is a firewall. The router is running iptables for its firewall and for NAT. I've added entries to permit all internal traffic and checked the log (it displays a message in syslog when it rejects a packet) but it's not rejecting the traffic. None of the other servers are running a firewall.

I would initially question whether or not the problem is firewall related or if you have crossed subnet masks.

Quoted 11 lines

Here's the routing table from one of the Windows servers:

<snip>

And here's the routing table from the Linux router:

<snip>

And here's the iptables firewall script:

<snip>

I don't see any thing in the script that should be causing problems. Initially I wondered if you could access the firewall from the servers via an IP address that would be forwarded through the router / firewall but not directly into the router / firewall. However you have lines in your firewall script that look to allow any traffic in to the firewall from the LAN and SAN so this should not be a problem. Consider if this was the case, the servers that are on both subnets would not be able to ping the IP of the router / firewall that passes through the router / firewall because it would always come from the close IP, i.e. the one that is in the subnet, thus no need for forwarding. However your workstation would be able to ping the SAN IP address of the router / firewall because it would have to forward the packet(s), passing through the FORWARD chain, not the INPUT chain directly.

Quoted 1 line

If anyone has any ideas or suggestions, I'd greatly appreciate some help. I'm pretty much at a loss at this point. All I can think of is that maybe there's something wrong with the NIC... but that doesn't really make sense since I can ping it just fine from this workstation.

Try disconnecting your internet connection for a few minutes (for safety) and disabling all firewalling all together and allow just straight routing. If this works, you know for sure that there is a problem in your firewall script.

If that does not work can we get an output of iptables-save so that we see your entire firewall as in kernel memory?

Quoted 1 line

Thanks in advance,

*nod*

Grant. . . .

author
#2 lore raw
Quoted 2 lines

Can we see the actual error message rather than a sanitized one?

[root@router ~]$ ping 192.168.1.11
PING 192.168.1.11 (192.168.1.11) 56(84) bytes of data. 64 bytes from 192.168.1.11: icmp_seq=0 ttl=128 time=1.45 ms wrong data byte #30 should be 0x1e but was 0x8
#16 10 11 12 13 14 15 16 17 18 19 1a 1b 1c 1d 8 0 6 4 8 0 6 4 8 0 6 4 1e
1f 20 1d 1e 1f
#48 20 21 1e 1f 20 21 1e 1f
64 bytes from 192.168.1.11: icmp_seq=1 ttl=128 time=0.092 ms wrong data byte #30 should be 0x1e but was 0x72
#16 10 11 12 13 14 15 16 17 18 19 1a 1b 1c 1d 72 53 9 2 72 53 9 2 72 53
9 2 1e 1f 20 1d 1e 1f
#48 20 21 1e 1f 20 21 1e 1f

Quoted 1 line

I would initially question whether or not the problem is firewall related

or if you have crossed subnet masks.

Here's the ifconfig output for the two NICs on "router":

eth1 Link encap:Ethernet HWaddr 00:15:C5:F1:9B:13

          inet addr:192.168.2.1  Bcast:192.168.2.255  Mask:255.255.255.0
          inet6 addr: fe80::215:c5ff:fef1:9b13/64 Scope:Link
          UP BROADCAST RUNNING MULTICAST  MTU:1500  Metric:1
          RX packets:100525429 errors:0 dropped:0 overruns:0 frame:0
          TX packets:31105444 errors:0 dropped:0 overruns:0 carrier:0
          collisions:0 txqueuelen:1000
          RX bytes:124476618047 (115.9 GiB)  TX bytes:26593739981 (24.7 GiB)
          Interrupt:169 Memory:f4000000-f4011100

eth2 Link encap:Ethernet HWaddr 00:18:F8:09:48:6D

          inet addr:192.168.1.1  Bcast:192.168.1.255  Mask:255.255.255.0
          inet6 addr: fe80::218:f8ff:fe09:486d/64 Scope:Link
          UP BROADCAST RUNNING MULTICAST  MTU:1500  Metric:1
          RX packets:84630 errors:0 dropped:0 overruns:0 frame:0
          TX packets:77754600 errors:0 dropped:0 overruns:0 carrier:0
          collisions:0 txqueuelen:1000
          RX bytes:9127453 (8.7 MiB)  TX bytes:111588916824 (103.9 GiB)
          Interrupt:193 Base address:0xcc00

The Windows servers have similar settings. Each server has two NICs -- For example, Fileshare has the main one configured as 192.168.2.10 with a mask of 255.255.255.0 and Gateway 192.168.2.1. The DNS and WINS are set to point to the two domain controllers. The second adapter is configured as 192.168.1.10 with a mask of 255.255.255.0. I've left everything else blank.

Quoted 2 lines

Try disconnecting your internet connection for a few minutes (for safety) and disabling all firewalling all together and allow just straight

routing. If this works, you know for sure that

Quoted 2 lines

there is a problem in your firewall script.
If that does not work can we get an output of iptables-save so that we see

your entire firewall as in kernel memory?

I'll try this later tonight or tomorrow night.

Thanks,

Jacob Lear
IT Systems Support Engineer

#3 lore raw
Quoted 10 lines · Jacob Lear

[root@router ~]$ ping 192.168.1.11
PING 192.168.1.11 (192.168.1.11) 56(84) bytes of data. 64 bytes from 192.168.1.11: icmp_seq=0 ttl=128 time=1.45 ms wrong data byte #30 should be 0x1e but was 0x8
#16 10 11 12 13 14 15 16 17 18 19 1a 1b 1c 1d 8 0 6 4 8 0 6 4 8 0 6 4 1e 1f 20 1d 1e 1f
#48 20 21 1e 1f 20 21 1e 1f
64 bytes from 192.168.1.11: icmp_seq=1 ttl=128 time=0.092 ms wrong data byte #30 should be 0x1e but was 0x72
#16 10 11 12 13 14 15 16 17 18 19 1a 1b 1c 1d 72 53 9 2 72 53 9 2 72 53 9 2 1e 1f 20 1d 1e 1f
#48 20 21 1e 1f 20 21 1e 1f

All references I see to "wrong data byte #30 should be 0x1e but was" suggest wrong drivers for the NIC. Any thoughts?

Quoted 15 lines

Here's the ifconfig output for the two NICs on "router":

eth1 Link encap:Ethernet HWaddr 00:15:C5:F1:9B:13

          inet addr:192.168.2.1  Bcast:192.168.2.255  Mask:255.255.255.0
          inet6 addr: fe80::215:c5ff:fef1:9b13/64 Scope:Link
          UP BROADCAST RUNNING MULTICAST  MTU:1500  Metric:1
          RX packets:100525429 errors:0 dropped:0 overruns:0 frame:0
          TX packets:31105444 errors:0 dropped:0 overruns:0 carrier:0
          collisions:0 txqueuelen:1000
          RX bytes:124476618047 (115.9 GiB)  TX bytes:26593739981 (24.7 GiB)
          Interrupt:169 Memory:f4000000-f4011100

eth2 Link encap:Ethernet HWaddr 00:18:F8:09:48:6D

Quoted 8 lines
          inet addr:192.168.1.1  Bcast:192.168.1.255  Mask:255.255.255.0
          inet6 addr: fe80::218:f8ff:fe09:486d/64 Scope:Link
          UP BROADCAST RUNNING MULTICAST  MTU:1500  Metric:1
          RX packets:84630 errors:0 dropped:0 overruns:0 frame:0
          TX packets:77754600 errors:0 dropped:0 overruns:0 carrier:0
          collisions:0 txqueuelen:1000
          RX bytes:9127453 (8.7 MiB)  TX bytes:111588916824 (103.9 GiB)
          Interrupt:193 Base address:0xcc00

Well, there is no subnet problem that I see.

Quoted 3 lines

The Windows servers have similar settings. Each server has two NICs
-- For example, Fileshare has the main one configured as 192.168.2.10
with a mask of 255.255.255.0 and Gateway 192.168.2.1. The DNS and WINS are set to point to the two domain controllers. The second adapter is configured as 192.168.1.10 with a mask of 255.255.255.0. I've left everything else blank.

Ok...

I'm not entirely sure that the blank gateway on the second NIC is not a problem, though I don't think it is your current problem. I've had mixed results not putting a gateway in on all interface config panels in Windows before.

Quoted 1 line

I'll try this later tonight or tomorrow night.

Ok. Based on what I said above, I'm not thinking that this will make a lot of difference, but go ahead and try it if any way if you don't mind.
At least that way we will know for sure.

Grant. . . .

author
#4 lore raw
Quoted 3 lines

All references I see to "wrong data byte #30 should be 0x1e but was" suggest wrong drivers for the NIC. Any thoughts?

That's entirely possible. That NIC isn't one of the onboard NICs and was just one that I had laying around. I don't even remember what it is. The server is Red Hat EL4 x64 and the driver it is using is the one that it
picked: "ADMtek NC100 Network Everywhere Fast Ethernet 10/100". I have a bunch of spare Linksys LNE100TX... I think it might be one of those. Is there a Linux driver for that and is that the correct driver for it, assuming that there is and that is what the card is?

Quoted 2 lines

Ok...
I'm not entirely sure that the blank gateway on the second NIC is not a

problem, though I don't think it is your current

Quoted 1 line

problem. I've had mixed results not putting a gateway in on all interface

config panels in Windows before.

I don't think that's the problem... based on what I've read online, Windows doesn't like having more than 1 Default Gateway -- it confuses it (big shocker there huh?). I tried it that way at first and it was complaining when I tried to save the TCP/IP properties. I don't think the routing was working right either... I seem to recall some issues.

Jacob Lear
IT Systems Support Engineer

#5 lore raw

В Чтв, 13/12/2007 в 10:41 -0800, Jacob Lear пишет:

Quoted 5 lines

I don't think that's the problem... based on what I've read online, Windows doesn't like having more than 1 Default Gateway -- it confuses it (big shocker there huh?). I tried it that way at first and it was complaining when I tried to save the TCP/IP properties. I don't think the routing was working right either... I seem to recall some issues.

Because that way windows will get two default gateways, which it thinks is not correct. You can add only one default gateway (via TCP/IP properties), and if you need more you can add one non-default with a comamnd "route add...".

Signature · 1 line
Покотиленко Костик <[email protected]>
#6 lore raw

You can actually add more default gateways to one interface by using Advanced option under TCP/IP properties. Of course, these are default gateways, so all traffic that doesn't match other routing rules will get routed thru these. You can alter the metrics to define gateway priority.

I doubt you can add default gateways that reside under different networks this way tho. (I have used multiple default gateways on different interfaces in Windows before tho and I didn't have any problems. The real default interface had lower metric value than then the other, so if I wanted use the other, I would need to bind to it directly)

Anyway, this got a little off-topic :)

Покотиленко Костик <[email protected]> kirjoitti Fri, 14 Dec 2007 10:23:40 +0200:

Quoted 15 lines

В Чтв, 13/12/2007 в 10:41 -0800, Jacob Lear пишет:

Quoted 7 lines

I don't think that's the problem... based on what I've read online, Windows
doesn't like having more than 1 Default Gateway -- it confuses it (big shocker there huh?). I tried it that way at first and it was complaining when I tried to save the TCP/IP properties. I don't think the routing was
working right either... I seem to recall some issues.

Because that way windows will get two default gateways, which it thinks is not correct. You can add only one default gateway (via TCP/IP properties), and if you need more you can add one non-default with a comamnd "route add...".

Signature · 2 lines
Käytössä Operan vallankumouksellinen sähköpostiohjelma:  
http://www.opera.com/mail/