LinuxQuestions.org

LinuxQuestions.org (/questions/)
-   Linux - Networking (http://www.linuxquestions.org/questions/linux-networking-3/)
-   -   Smoothwall Express 3 - Unable to get an ip from ISP (dhcp cable modem) (http://www.linuxquestions.org/questions/linux-networking-3/smoothwall-express-3-unable-to-get-an-ip-from-isp-dhcp-cable-modem-763862/)

Ark11 10-22-2009 10:24 PM

Smoothwall Express 3 - Unable to get an ip from ISP (dhcp cable modem)
 
Hello everyone

Here is my setup:

cable modem -> smoothwall -> switch -> comps

The smoothwall is set to green+red
green is on 192.168.0.1

So I enable the dhcp server of my smoothwall and the computers on the switch can talk to each others and I can connect to the web-interface of my smoothwall. The problem is that I can't access internet (the smoothwall itself cannot ping nor does the cable modem shows any sign of activity).

I think that the problem is in Networking tab of the web-interface under Interface. The red interface should be set to DHCP with hostname as the name of the smoothwall right? I get a dynamic IP from my ISP. It seems like the cable modem doesn't want to give the external ip adress to my smoothwall... what to do? (The cable modem is connected via ethernet to the red NIC).

Thanks

{BBI}Nexus{BBI} 10-24-2009 06:09 PM

Powerdown your smoothwall and modem. Wait for about 15 seconds. Fire up the modem, wait for the lights to settle then powerup smoothwall. That works for me.

creatureofthedark 11-06-2010 12:23 PM

i have the exact same issue and turning it on and off again doesn't fix this issue... my DD-WRT router seems to work fine.. it grabs the ip address from virgin media and starts working... but when i plug the cable modem in to the RED Ethernet port on my smoothwall router my smoothwall can't seem to DHCP and pick up its ip address.... the GREEN port is working fine with no issues....

head honcho 12-24-2010 12:59 AM

I have the exact setup and the exact problem...

I've seriously tried everything and it's still not working. Did anyone figure out a solution?

I have Verizon FiOS...

i really wanna try out smoothwall, but it's such a pain right now!

{BBI}Nexus{BBI} 12-24-2010 01:36 AM

Have you tried watching the boot process for any messages that might give a clue as to what is going on. You could also try re-assigning the network cards just to check that they are working.

head honcho 12-24-2010 10:37 AM

Thanks Nexus for the quick reply. Happy holidays!!!

I watch the boot process as carefully as I can but obviously it's very fast. However, I think the problem always comes out in something like "waiting for DHCP" but it waited too long and didn't get an IP so it doesn't get an IP (the RED connection).

I've tried changing the RED and GREEN. I've tried the reinstall at least 10 times.

My GREEN network can talk to each other and I can access the smoothwall web interface by my browser and my GREEN (by doing ifconfig eth# command) I can see that the GREEN network card is getting an IP, but I do the same ifconfig for the RED and it doesn't have an IP address and doesn't say "UP" (but the GREEN says "UP").

I'm pretty sure that my RED is not working... (even though I have it set up as DHCP on the RED because Verizon FiOS does dynamic IP).

PLEASE FOR THE LOVE OF GOD HELP ME. I CAN'T GET ANY SLEEP!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!

Happy holidays!!!

inspiron_Droid 12-24-2010 11:03 AM

Please try the folowing steps to solve your problem.
  1. Shut every thing down
  2. plugin in only your modem
  3. connect your red interface to your modem
  4. boot smmoth wall machine
  5. wait about five to ten minutes
  6. plug you switch into the green interface of smooth wall machine
  7. gradually bring each of your vcomputers back on line

head honcho 12-25-2010 01:44 AM

OMG THANK YOU NewBirth88!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!

DID EXACTLY WHAT YOU SAID ABOUT TURNING EVERYTHING OFF AND JUST PLUGGING IN THE RED (INTERNET LINE)!

Sorry for all caps... i am just wayyyy too happy.

Thank you!

Thank you Nexus as well.

Hope everyone has a MERRY CHRISTMAS!

{BBI}Nexus{BBI} 12-26-2010 03:32 PM

Quote:

Originally Posted by head honcho (Post 4202584)
OMG THANK YOU NewBirth88!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!

DID EXACTLY WHAT YOU SAID ABOUT TURNING EVERYTHING OFF AND JUST PLUGGING IN THE RED (INTERNET LINE)!

Sorry for all caps... i am just wayyyy too happy.

Thank you!

Thank you Nexus as well.

Hope everyone has a MERRY CHRISTMAS!

Nice, you finally got it working. Belated festive greetings to you also.. :)

Kalinux 06-21-2015 05:38 AM

DHCP proplem
 
Yes the red interface should use DHCP protocol to get IP address.
If your cable modem is simple bridge modem not router then
IP address for the red interface gomes from DHCP server what is in the ISP network. But if your modem is a router and it uses routing method then router gives the IP address for Smootwall red interface.

You say

"I watch the boot process as carefully as I can but obviously it's very fast. However, I think the problem always comes out in something like "waiting for DHCP" but it waited too long and didn't get an IP so it doesn't get an IP (the RED connection)."

Are you sure you have workin connection between cable modem and ISP Network?
If the connection works fine the one possible proplem can be next. DHCP system is a client server system. There is sever program in the computer what
is connected network. Server program tells DHCP client program what is started in the Smootwall what IP address red interface shult be use. So
when Smootwall Linux is started it uses DHCP client program to connect DHCP server to get IP address for RED interface. It is possible at connection between Smootwall Linux and DHCP server takes too mutch time. When the DHCP
client program is started then it sends DHCPDISCOVERY message to netework
using IP address '255.255.255.255'. DHCP server process must answer that
message using DHCP offer message. That message containst IP address for RED interface. DHCP client waits DHCP offer message some time. It can't wait DHCP offer message long as world end, because it is possible at network not containst DHCP server program at all. If network not containst DHCP server
DHCP offer message is never sended to the client program. It is possible at DHCP server send DHCP offer message, DHCP client. But when message comes to the client the Client process can be stoped waiting it the if the waiting time is gone. That means DHCP address never set to the RED interface.

Are you sure the network card what uses RED intrerface is connected using a cable to the cable modem? And network card what uses a green interface is connected switch? Not another way?

If you can login in your Smoothwall Linux use 'ifconfig eth0' command to see adress of the Network interface 'eth0' and comman 'ifconfig eth1' to see ipadress of the network interface 'eth1'. They can tell what is proplem is. Also use route to see is there the default route exist.


All times are GMT -5. The time now is 09:02 AM.