You are not logged in.

#1 2010-12-18 18:06:54

BlackIkeEagle
Package Maintainer (PM)
From: Belgium
Registered: 2008-09-24
Posts: 78

[SOLVED] Dynamic ip routing fails

I have set up a router with arch on it, enabled forwarding, installed shorewall, ... all is working fine

but then my isp changes ip-address and it doesnt change on my computer

in my daemon.log i see the change of addres ( dhcpcd logs it ) but when running ifconfig my previous address is still there, and as a result of course my internet is gone.

the only solution now is rebooting the machine which is definatly not something i want to do every day.

extra info:
internal address (lan) = static
external address (wan) = dynamic

more extra info:
issue occurs with:
kernel26-lts
kernel26
kernel26-besrv (my own stripped down config)

anyone any idea why ?

this is starting to bothering me very much, and i cant seem to find any solution for it

Last edited by BlackIkeEagle (2010-12-29 09:31:45)


- Arch64 / Arch32 -- Desktops & Mediacenters & Laptops & home Servers
- MyAUR
- MyArchWiki
- pgp key: 0x796CA067

Offline

#2 2010-12-18 21:38:29

pyther
Member
Registered: 2008-01-21
Posts: 1,395
Website

Re: [SOLVED] Dynamic ip routing fails

maybe you can run dhcpcd with the debug switch (-d) and see if you can get anymore info

This might also be useful....

-U, --dumplease interface
             Dumps the last lease for the interface to stdout.  interface
             could also be a path to a DHCP wire formatted file.


Website - Blog - arch-home
Arch User since March 2005

Offline

#3 2010-12-19 13:06:44

BlackIkeEagle
Package Maintainer (PM)
From: Belgium
Registered: 2008-09-24
Posts: 78

Re: [SOLVED] Dynamic ip routing fails

for now i only changed the -q to -d in /etc/conf.d/dhcpcd and all is working fine for now, the ip-address has been changed once already and i still have internet smile

maybe the next change i'm in pain again, hopefully then the -d flag will come in handy, thx for the hint


- Arch64 / Arch32 -- Desktops & Mediacenters & Laptops & home Servers
- MyAUR
- MyArchWiki
- pgp key: 0x796CA067

Offline

#4 2010-12-19 16:27:43

pyther
Member
Registered: 2008-01-21
Posts: 1,395
Website

Re: [SOLVED] Dynamic ip routing fails

No problem, please mark the thread as [SOLVED]


Website - Blog - arch-home
Arch User since March 2005

Offline

#5 2010-12-20 07:38:55

BlackIkeEagle
Package Maintainer (PM)
From: Belgium
Registered: 2008-09-24
Posts: 78

Re: [SOLVED] Dynamic ip routing fails

no i cant i just lost my connection to my home computer from work, so my guess is that the problem is not solved at all, i cant see right now what is going on

i can check tonight but thats about 10 hours to go sad


- Arch64 / Arch32 -- Desktops & Mediacenters & Laptops & home Servers
- MyAUR
- MyArchWiki
- pgp key: 0x796CA067

Offline

#6 2010-12-20 19:38:08

BlackIkeEagle
Package Maintainer (PM)
From: Belgium
Registered: 2008-09-24
Posts: 78

Re: [SOLVED] Dynamic ip routing fails

here is some logging and co:

http://pastebin.com/iajKDafC

i have still no clue, dhcpcd says all is fine but the ip-address doesnt change


- Arch64 / Arch32 -- Desktops & Mediacenters & Laptops & home Servers
- MyAUR
- MyArchWiki
- pgp key: 0x796CA067

Offline

#7 2010-12-21 18:46:24

BlackIkeEagle
Package Maintainer (PM)
From: Belgium
Registered: 2008-09-24
Posts: 78

Re: [SOLVED] Dynamic ip routing fails

OK, i just dropped shorewall, and read some stuff about iptables, made some iptables rules smile

now i have internet, lets hope it stays so when my isp changes the ip-address smile

if my internet stays up till friday, i'll mark it solved

thx for the support


- Arch64 / Arch32 -- Desktops & Mediacenters & Laptops & home Servers
- MyAUR
- MyArchWiki
- pgp key: 0x796CA067

Offline

#8 2010-12-23 07:51:08

BlackIkeEagle
Package Maintainer (PM)
From: Belgium
Registered: 2008-09-24
Posts: 78

Re: [SOLVED] Dynamic ip routing fails

ok still failing, this morning i had the issue again


- Arch64 / Arch32 -- Desktops & Mediacenters & Laptops & home Servers
- MyAUR
- MyArchWiki
- pgp key: 0x796CA067

Offline

#9 2010-12-26 10:36:46

BlackIkeEagle
Package Maintainer (PM)
From: Belgium
Registered: 2008-09-24
Posts: 78

Re: [SOLVED] Dynamic ip routing fails

just close it, noone seems to know this problem, i'll search further, but tis topic is as dead as it can be since i'm the only one still posting

the problem is there, it happens almost every day.


- Arch64 / Arch32 -- Desktops & Mediacenters & Laptops & home Servers
- MyAUR
- MyArchWiki
- pgp key: 0x796CA067

Offline

#10 2010-12-27 10:08:02

BlackIkeEagle
Package Maintainer (PM)
From: Belgium
Registered: 2008-09-24
Posts: 78

Re: [SOLVED] Dynamic ip routing fails

Extra info:
if i stop my firewall and restart my network my outside (dhcp) address gets set ok,

someone any idea why iptables blocks the change of ip-address


- Arch64 / Arch32 -- Desktops & Mediacenters & Laptops & home Servers
- MyAUR
- MyArchWiki
- pgp key: 0x796CA067

Offline

#11 2010-12-29 09:31:28

BlackIkeEagle
Package Maintainer (PM)
From: Belgium
Registered: 2008-09-24
Posts: 78

Re: [SOLVED] Dynamic ip routing fails

fixed: now i use dhclient in stead of dhcpcd and the issue is gone


- Arch64 / Arch32 -- Desktops & Mediacenters & Laptops & home Servers
- MyAUR
- MyArchWiki
- pgp key: 0x796CA067

Offline

Board footer

Powered by FluxBB