[leaf-user] Odd DHCPC Behaviour

2004-02-16 Thread David Pitts
Hi.  

I have just decided to upgrade my lovely Bering firewall to take
advantage of uCLib.  I have put together my Bering 2 floppy and almost
everything works fine!  The fly in the ointment is the connection to my
ISP.  I am on BigPond Cable and I use udhcpc and BPALogin in my working
Bering floppy.  Udhcpc doesn't seem to have been recompiled for uCLib so
I am using dhclient and BPALogin in my uCLib version.  

The oddness is that using udhcp I get a particular IP Address (call it
IPudhcp) but with dhclient I get a totally different IP (call it
Ipdhclient).  But my hardware is the same so my MAC addresses don't
change.  This is repeatable ie if I boot with my udhcp disk, I get
IPudhcp every time, then if I boot my dhclient floppy I get IPdhclient
every time.  This seems odd to me because all I have read indicates that
IP addresses might be allocated on the basis of stored MAC addresses,
not some characteristic of the dhcp client.

The reason this is an issue is because BPAlogin for the dhclient floppy
won't login!  It says it can't find the authentication server.  The
settings are the same as for the udhcp floppy and I use the dotted quad
IP address to point to the server.  However, I find that if I turn my
modem off for about 5 minutes with my router off, then turn the modem
back on, and reboot the router, it will connect.  This sort of behaviour
is typically associated with clearing the MAC address stored by the
modem, but I don't see why it makes any difference to me because my MAC
Address doesn't change!

Then after about 5 minutes my connection disappears!  When I look at my
Shorewall logs following the disconnection I find that there are entries
showing rejection of connections from the Authentication server to port
5050 (which is the BigPond heartbeat port) but to Ipudhcp, not
IPdhclient!  So the rejection logs show that the authentication server
has tried to contact my router on the IP address that would have been
allocated if I had used udhcpc!  And because the connection was
rejected, I am logged out!


This is all very weird.  It appears that dhclient is connecting ok using
the allocated IP address but 'something' in the Auth server is still
associating my MAC address with the IP address I would have been given
if I was using udhcp.

I am after any advice anyone can offer on what might cause this or how
to get around it. Is there any connection between MAC Address and the
dhcp client?  Does the dhcp client send a MAC address to the auth
server?  I would like to try another dhcp client and I see Pump has been
recompiled so I will try that first.  Lynn, are you planning to
recompile udhcpc because I would like to try that as well.

Thanks folks, as usual!


David Pitts
IT Services Manager
Reid Library 
University of Western Australia

Telephone:   (08) 6488 3492 Fax:  (08) 6488 1012



---
SF.Net is sponsored by: Speed Start Your Linux Apps Now.
Build and deploy apps  Web services for Linux with
a free DVD software kit from IBM. Click Now!
http://ads.osdn.com/?ad_id56alloc_id438op=click

leaf-user mailing list: [EMAIL PROTECTED]
https://lists.sourceforge.net/lists/listinfo/leaf-user
SR FAQ: http://leaf-project.org/pub/doc/docmanager/docid_1891.html


[leaf-user] 3rd week of trying to LEAF

2004-02-16 Thread joah moat
Yeah, a dreary three weeks of trudging through computer debris ... gigo: all 
good things in good time.

I can ping out, (ping test to ping 64.29.201.21) this must mean that my eth0 
is properly configured.

My windows box cannot auto detect ip address from LEAF router, green light 
on my (PCMCIA) eth1 is off.  When I type ifup eth1 I receive a message of
RTNETLINK answers: FIle exists
/etc/init.d/dhcpd: No such file or directory

ip addr says

4: eth1 BROADCAST,MULTICAST,UP mtu 1500 qdisc pfifo_fast qlen 1000
   link/ether 00:95:5d:37:7f:65 brd ff:ff:ff:ff:ff:ff
   inet 192.168.1.254/24 brd 192.168.1.255 scope global eth1
Also, syslog reports firewall dhcpcd[2649]: dhcpStart: ioctl SIOCGIFHWADDR:  
No such device

I am the blind seeing with my fingers, xcept not really seeing, dho!

Can any help me with what is happening with my current Bering-uClibc 2.1rc1 
set-up?

Are there other commands I can type to investigate what is happening?  Any 
other logs I can set up?  Thanks.

_
STOP MORE SPAM with the new MSN 8 and get 2 months FREE*   
http://join.msn.com/?page=dept/bcommpgmarket=en-caRU=http%3a%2f%2fjoin.msn.com%2f%3fpage%3dmisc%2fspecialoffers%26pgmarket%3den-ca



---
SF.Net is sponsored by: Speed Start Your Linux Apps Now.
Build and deploy apps  Web services for Linux with
a free DVD software kit from IBM. Click Now!
http://ads.osdn.com/?ad_id=1356alloc_id=3438op=click

leaf-user mailing list: [EMAIL PROTECTED]
https://lists.sourceforge.net/lists/listinfo/leaf-user
SR FAQ: http://leaf-project.org/pub/doc/docmanager/docid_1891.html


[leaf-user] udp masq entry and dns abuse

2004-02-16 Thread greg gede
Lately i'm having problem with udp masq entry in my
internet leaf-router with a lot of messages like this:
IP_MASQ:ip_masq_new(proto=UDP): could not get free
masq entry (free=36864)

here's my network looks like :
-  ---

|leaf-router|  |RH9 squid  dnscachex|
to -|eth0   eth1|---|HUB|--|eth0 eth1|
internet|   |  | |
-  ---
|
|
 |switch|
| | | 
 subnet A - | | | 
 subnet B --- | |
 subnet C --| 


everytime i stop dnscachex, the messages also stop. am
i having dns abuse from my internal network? or is it
because there are too many clients in my internal
network? how do i deal with it?

any suggestion will be very appreciated.

regards,
gregor

__
Do you Yahoo!?
Yahoo! Finance: Get your refund fast by filing online.
http://taxes.yahoo.com/filing.html


---
SF.Net is sponsored by: Speed Start Your Linux Apps Now.
Build and deploy apps  Web services for Linux with
a free DVD software kit from IBM. Click Now!
http://ads.osdn.com/?ad_id=1356alloc_id=3438op=click

leaf-user mailing list: [EMAIL PROTECTED]
https://lists.sourceforge.net/lists/listinfo/leaf-user
SR FAQ: http://leaf-project.org/pub/doc/docmanager/docid_1891.html