This discussion has been locked.
You can no longer post new replies to this discussion. If you have a question you can start a new discussion

dhcp client on external card not working

Hi guys,

I,ve been waiting for ASL to come up with a version that can have dhcp on external interface since version 1.8.

Now that this version is out I have troubles obtaining an ip from Videotron (my ISP).
My setup : 2 cards 3com 905B detected as Cyclone on IRQ 5 and 10.
No matter wich one I define as internal one , ifconfig shows the external card as being disabled.
I tried configuring the card from Webadmin by selecting DHCP on all 3 options and rebooting the machine. Same result - external card is not up/enabled. 
Even if I try ifconfig eth1 up the card will not be displayed in the list of active cards.

I also tried with a D-Link and a 3Com905 with same results.

Any ideeas/hints where I can look ?

Thanks
Mishou


This thread was automatically locked due to age.
Parents
  • or at least what's the command to force a release/renew ip address ?

    Mishou
  • Hello

    I have the same problem with DHCP on the External Card. 2 3C905b-tx.

    If you find the solution... please tell  [:)] 

    Best Regards
    Jack
      [:S]
  • Hi,

    i bought myself two brand new 3com 3c905CX Boards. The internal interface has a fixed IP Adress and for the external interface i want to use dhcp. I experience the same problem as mishou. After a while the box keeps telling me something about UDP requests on interface eth1. Do we have to configure a rule for dhcp to work?
  • Same problem here. I have 2 RLT 8139 Cards one of them is connected to the internet. I even tried to start it manually but I get a lot of config errors and the file in /var/chroot-dhcpc/usr/sbin/dhcpc_updown.sh or similiar seems to be incomplete.
    All my tries have failed so far and it doesnt look like anything is happening when aktivating dhcp via the webmenu. Hope they can/will fix it soon.
    Its very sad as I love the firewall but I never found an astaro with working dhcp clients so far. My System Spec:

    Pentium 200 MMX
    64 MB EDO Ram
    3 Gig Harddrive IDE
    2x RLT 8139 NIC's
    Provider Freenet
  • I am having similar problem.  I was able to get a dynamic IP on the external card but can not renew it once the lease has expired.

    I do not know if this has to do with the capacity of the system being used as firewall, or there is just something missing within astaro to automatically renew IP lease
  • Hi,

    Are we alone with that problem ? It seems we don't have much help for  [:(] 
    I have to continue to work with Freesco then.

    All the Best.
    Jack
  • Guys, DHCP uses UDP packets for renewing ip addresses. DHCP server uses UPD port 67 and client uses UDP port 68. I think you need to configure rule to pass this packets through as Astaro by defaul denies all that unspecified. Hope it helps ...
Reply
  • Guys, DHCP uses UDP packets for renewing ip addresses. DHCP server uses UPD port 67 and client uses UDP port 68. I think you need to configure rule to pass this packets through as Astaro by defaul denies all that unspecified. Hope it helps ...
Children
  • Hi,

    I have the same type off problem, can't get the external card to go upp and get the DHCP adress.
    The machine is a Pentium 200/128Mb Ram, tried several brand of networkcards, same result.
    Tested second mechine also a Petium machine, same problem.
    Then tested a newer machine P2 350 NO PROBLEM...

    Can there be a compability problem ?
    It sems that the network card recive packet but do not transmit...
    Can anyone confirm this. ???
     

      [:S]
  • Hi,

    My configuration is :

    PII 400 Mhz
    Asus P2B Motherboard
    128 Mo Ram
    Drive 20 Go
    2 network Card 3c-905B-tx.

    The post sent before should be a solution. Perhaps the rules don't let passed ports needed for DHCP. I will Try.

    All the Best  [:)] 
    Jack
  • quote:
     Guys, DHCP uses UDP packets for renewing ip addresses. DHCP server uses UPD port 67 and client uses UDP port 68. I think you need to configure rule to pass this packets through as Astaro by defaul denies all that unspecified. Hope it helps ...  


    worked like a charm, thanks.
  • I believe the post by Mahno might be a work-around to resolve the problem.  But why is it that it works fine with some system eventhough those ports were not opened.

    It seems the problem might also lies with the capacity of the system being used.  I have tried astaro on 2 different systems, the most recent system seems to obtain an IP while the old one cann't get any dynamic IP.

    I even went further by joggling the systems around a little bit.  What I did was mounting the NICs and HD of the older system onto the new one, boot and got an IP.  Then move them back to the old system and the IP was still retained and could get to the net.  However, I observe that once my ISP releases IPs, the older system can not renew it request so it is stucked with IP which is no longer routable.  

    I am using cable modem to connect. I will try Mahno option and see how it works with the old system.  However, since I already have a rule that allow all traffic out, I guess I only have to open UDP 67 for the DHCP server to come in.
    [ 29 May 2002: Message edited by: ao ]

    [ 29 May 2002: Message edited by: ao ]

  • Well the ports for DHCP are allowed as soon as you eneable dhcp, at least thats what the configs say. I didnt try to add them manually again but it doesnt seem necesarry yet I will do anything to try it. I noticed no packet drops in any of the logs regarding port 67 and 68 but maybe the drops arent logged. I tried to manually start the dhcp client (/var/chroot-dhcpcd/usr/sbin/dhcpcd -d ethX) and it sends out the MAC adress but doesnt get an answer, also I noticed that SuSE 8.0 uses the same dhcp client but it has a lot more options so it might be that the astaro dhcp client wasnt compiled with all options on. It might be a possible error. I will try to compile the client with the plus pack and try to explitily allow the dhcp ports.
  • Ok I tried to explitcly allow the dhcp ports 67 and 68 but could get the dhcp client to get an ip.
  • Well in my case didn't work.
    I think that in order to be able to add/create a rule that specify traffic to/from eth1 (the external one), that card should be up on the system.
    Using dhcp on the external one and not being able to obtain an ip seems to put the card down. 
    No matter if I try ifconfig eth1 up , after less than a minute the card is turned down.

    It seem that the problem is the dhcp client since the card is up and running with a static ip assigned to it.
    In this case ifconfig and (route -n) shows the card and the routes created but my ISP will disconnect me if I not contact the DHCP for more than 3 hours.

    Mishou
  • When I open to "open live packet filter violation log", I often have one of my ISP routers IP listed on it but with no corresponding listing UDP/TCP port.  I also observe that the destination IP has nothing to do with my external nic IP.

    Has this got anything to do with the DHCP?

    [ 29 May 2002: Message edited by: ao ]

    [ 29 May 2002: Message edited by: ao ]

  • I made a fix for the astaro dhcp client look for it here. Its a workaround for the moment and you need to manually start the deamon but it worked for me so check it out and post your results here. I also wrote an email to astaro so they might fix it.
  • But why did no Astaro Technician reply to this problem to really tell us Yes or No there is bug that will be fix, or perhaps if we forgot something ?

    Does it work on a PC on Astaro side ? If Yes how ?
     If No why  ?

    This should be easy from them no ?