Gentoo Forums
Gentoo Forums
Gentoo Forums
Quick Search: in
No TCP connections without proxy [SOLVED]
View unanswered posts
View posts from last 24 hours

 
Reply to topic    Gentoo Forums Forum Index Gentoo on Sparc
View previous topic :: View next topic  
Author Message
wmgoree
Apprentice
Apprentice


Joined: 08 Aug 2003
Posts: 246
Location: Alexandria, VA

PostPosted: Thu Sep 08, 2005 8:29 pm    Post subject: No TCP connections without proxy [SOLVED] Reply with quote

EDIT: I'm a moron. TCP_ECN was enabled. Just editing for any similar morons out there....

This is driving me crazy.

I've installed Gentoo on two Ultra 5's (I know, I know...). Identical installations. Both can get ICMP to any host on the Internet, but cannot get UDP or TCP through their default gateway (the gateway works; there are 4 functioning class C's behind it and no special rules for the two boxes' IP addresses). They can do TCP connections on their local subnet, and they can do TCP through a proxy that is on the local subnet out to the world. But, they can't get TCP out directly.

Also, both can *respond* to TCP connections from outside of their network (eg, I can ssh to both of them from home), but I couldn't ssh from one of them back to my house.

For the config-minded (essentially identical on both boxes -- all shell-style variables are the correct values):
interface status on boot:
Code:

node2 ~ # ifconfig eth0
eth0     Link encap:Ethernet  HWaddr $MAC_ADDRESS
            inet addr:$IP_ADDRESS Bcast: $BROADCAST Mask: 255.255.252.0
            UP BROADCAST RUNNING MULTICAST MTU:1500 Metric:1
            RX packets: 2716 errors: 0 dropped:0 overruns:0 frame:0
            TX packets:34 erros:0 dropped:0 overruns:0 carrier:0
            Collisions:0 txqueuelen:1000
            RX bytes: 189918 (185.4 Kb) TX bytes:2364 (2.3 Kb)
            Interrupt:224 Base address:0x2000

routing tables:
Code:

node2~# route -n
Kernel IP routing table
Destination    Gateway      Genmask        Flags   Metric   Ref   Use  Iface
$SUBNET     *                  255.255.252.0   U         0           0       0       eth0
127.0.0.0      127.0.0.1     255.0.0.0           UG      0           0       0       lo
0.0.0.0          $GATEWAY 0.0.0.0              UG      0           0       0       eth0

config file
Code:

node2~# cat /etc/conf.d/net
config_eth0=( "$IPADDRESS broadcast $BROADCAST netmask 255.255.252.0" )
route_eth0=( "default gw $GATEWAY" )


I'm at a loss here. Why would the box make local TCP connections but refuse to send them through a router? I remember from way back in the day that Happy Meal cards don't like talking on Layer 2 with the interfaces of some routers; could this be it?

Any ideas would be great...
_________________
vi? *snicker* it doesn't even include a mail reader...
Back to top
View user's profile Send private message
Display posts from previous:   
Reply to topic    Gentoo Forums Forum Index Gentoo on Sparc All times are GMT
Page 1 of 1

 
Jump to:  
You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot vote in polls in this forum