GRE problem
Hello all,
I've posted this message on several news groups without any results, maybe here someone can help me...
I still have problem with GRE through Linux router and Win2k clients but additional information have occured. Let's start from the beginning:
My subnet is as follows:
192.168.49.0 ----- linux router ------ 172.19.1.0 ------> Win2k clients
When first client is trying to connect to VPN server out side our office all packets are sent through "linux router". When he finishes the connection and second client wants to make a new connection no GRE packets are sent through router. If I down and up interfaces on "linux router" everything works OK as earlier - GRE packets are transmitted through router. If I don't down and up interfaces but wait eg. for next day everything also works OK. It seems for me that some "timeout" variable is set on my linux router but I didn't set anything.
Can you tell me where I can change this "timeout" on my router? For me it should stay in /proc/xxxx? but what next?
Thanks,
Marcin
Dnia czwartek, 13 stycznia 2005 12:33, Craig Steadman napisa³:
Quoted 4 lines
Hi Marcin
Sounds like an issue with the nic drivers. Check if there are any updates ... failing that try some intel nics which are well supported.
I use e1000 from kernel. Guys from my VPN support told about some /proc/xxxx changes but they really didn't know where exactly should I change it.
Quoted 1 line
Also check your
/proc/sys/net/ipv4/ip_forwardis "1".
It's set.
Quoted 1 line
Does this problem only effect GRE traffic ?
Yes only GRE
Thx
Marcin
Quoted 30 lines
Cheers
CraigQuoted 25 lines · Marcin Giedz
Hello all,
I've posted this message on several news groups without any results, maybe here someone can help me...
I still have problem with GRE through Linux router and Win2k clients but additional information have occured. Let's start from the beginning:
My subnet is as follows:
192.168.49.0 ----- linux router ------ 172.19.1.0 ------> Win2k clientsWhen first client is trying to connect to VPN server out side our office all packets are sent through "linux router". When he finishes the connection and second client wants to make a new connection no GRE packets are sent through router. If I down and up interfaces on "linux router" everything works OK as earlier - GRE packets are transmitted through router. If I don't down and up interfaces but wait eg. for next day everything also works OK. It seems for me that some "timeout" variable is set on my linux router but I didn't set anything.
Can you tell me where I can change this "timeout" on my router? For me it should stay in
/proc/xxxx? but what next?Thanks,
Marcin
Quoted 8 lines · Marcin Giedz
When first client is trying to connect to VPN server out side our office all packets are sent through "linux router". When he finishes the connection and second client wants to make a new connection no GRE packets are sent through router. If I down and up interfaces on "linux router" everything works OK as earlier - GRE packets are transmitted through router. If I don't down and up interfaces but wait eg. for next day everything also works OK. It seems for me that some "timeout" variable is set on my linux router but I didn't set anything.
Is NAT involved here? I have a similar problem where a GRE connection goes out the wrong interface as the gateway starts up, getting a NAT association in ip_conntrack and the NAT never goes away after the correct interface and route come up. I think you need to get rid of the /proc/net/ip_conntrack entry but there is no mechanism to do this.
Signature · 2 lines
Les Mikesell [email protected]
U¿ytkownik Les Mikesell napisa³:
Quoted 15 lines · Marcin Giedz
Quoted 13 lines
When first client is trying to connect to VPN server out side our office all packets are sent through "linux router". When he finishes the connection and second client wants to make a new connection no GRE packets are sent through router. If I down and up interfaces on "linux router" everything works OK as earlier - GRE packets are transmitted through router. If I don't down and up interfaces but wait eg. for next day everything also works OK. It seems for me that some "timeout" variable is set on my linux router but I didn't set anything.
Quoted 2 lines
Is NAT involved here?
Yes it is
Quoted 6 lines
I have a similar problem where a GRE
connection goes out the wrong interface as the gateway starts up, getting a NAT association inip_conntrackand the NAT never goes away after the correct interface and route come up.
Seems similar ;)
Quoted 5 lines
I think you need to get rid of the
/proc/net/ip_conntrackentry but there is no mechanism to do this.
So how this is removed from ip_conntrack after some period of time?. As I said before, on a next day all GRE packets are transimited through router, thence it seems that there is some "TTL" on "these" packets.
BR,
Marcin
Quoted 7 lines · Marcin Giedz
Quoted 4 lines
I think you need to get rid of the
/proc/net/ip_conntrackentry but there is no mechanism to do this.So how this is removed from
ip_conntrackafter some period of time?. As I said before, on a next day all GRE packets are transimited through router, thence it seems that there is some "TTL" on "these" packets.
There is some kind of timeout on the conntrack entries and I assume each protocol (tcp/udp/icmp/gre) has its own value. In my case it never does work because the source never stops sending and even though it is doing the wrong thing applying the NAT it keeps the timeout from expiring.
Signature · 2 lines
Les Mikesell [email protected]