LinuxQuestions.org
Latest LQ Deal: Latest LQ Deals
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Networking
User Name
Password
Linux - Networking This forum is for any issue related to networks or networking.
Routing, network cards, OSI, etc. Anything is fair game.

Notices


Reply
  Search this Thread
Old 10-22-2009, 10:24 PM   #1
Ark11
LQ Newbie
 
Registered: Oct 2009
Posts: 1

Rep: Reputation: 0
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
 
Old 10-24-2009, 06:09 PM   #2
{BBI}Nexus{BBI}
Senior Member
 
Registered: Jan 2005
Location: Nottingham, UK
Distribution: Mageia 6, KDE Neon
Posts: 4,313

Rep: Reputation: 212Reputation: 212Reputation: 212
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.

Last edited by {BBI}Nexus{BBI}; 10-24-2009 at 06:10 PM.
 
Old 11-06-2010, 12:23 PM   #3
creatureofthedark
Member
 
Registered: Jan 2007
Distribution: LFS / Ubuntu / CentOs
Posts: 56

Rep: Reputation: 15
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....
 
Old 12-24-2010, 12:59 AM   #4
head honcho
LQ Newbie
 
Registered: Dec 2010
Posts: 3

Rep: Reputation: 0
Angry

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!
 
Old 12-24-2010, 01:36 AM   #5
{BBI}Nexus{BBI}
Senior Member
 
Registered: Jan 2005
Location: Nottingham, UK
Distribution: Mageia 6, KDE Neon
Posts: 4,313

Rep: Reputation: 212Reputation: 212Reputation: 212
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.
 
Old 12-24-2010, 10:37 AM   #6
head honcho
LQ Newbie
 
Registered: Dec 2010
Posts: 3

Rep: Reputation: 0
Unhappy

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!!!
 
Old 12-24-2010, 11:03 AM   #7
inspiron_Droid
Member
 
Registered: Dec 2006
Distribution: Debian (Wheeze)
Posts: 391

Rep: Reputation: Disabled
Exclamation

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
 
Old 12-25-2010, 01:44 AM   #8
head honcho
LQ Newbie
 
Registered: Dec 2010
Posts: 3

Rep: Reputation: 0
Talking

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!
 
Old 12-26-2010, 03:32 PM   #9
{BBI}Nexus{BBI}
Senior Member
 
Registered: Jan 2005
Location: Nottingham, UK
Distribution: Mageia 6, KDE Neon
Posts: 4,313

Rep: Reputation: 212Reputation: 212Reputation: 212
Quote:
Originally Posted by head honcho View Post
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..
 
Old 06-21-2015, 05:38 AM   #10
Kalinux
LQ Newbie
 
Registered: Jun 2015
Distribution: Many diffrent
Posts: 1

Rep: Reputation: Disabled
Wink 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.

Last edited by Kalinux; 06-21-2015 at 04:31 PM.
 
  


Reply

Tags
cable, dhcp, express, modem, smoothwall


Thread Tools Search this Thread
Search this Thread:

Advanced Search

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is Off
HTML code is Off



Similar Threads
Thread Thread Starter Forum Replies Last Post
Cable Modem + Static IP + Smoothwall Router + Switch = Horrible connection AustinMarton Linux - Networking 1 03-12-2008 04:50 PM
DHCP and cable modem Rolgar Linux - Networking 1 11-01-2006 07:21 AM
Cannot connect to ISP (cable modem+dhcp+pppd+pptp) iklinux Linux - Networking 0 05-11-2004 08:39 AM
cable modem and dhcp dead_p00l Linux - Networking 3 11-30-2003 02:29 AM
Cable Modem - How-to DHCP ? iraysyvalo Linux - Networking 17 07-16-2003 09:28 AM

LinuxQuestions.org > Forums > Linux Forums > Linux - Networking

All times are GMT -5. The time now is 03:22 PM.

Main Menu
Advertisement
My LQ
Write for LQ
LinuxQuestions.org is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
Syndicate
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
Open Source Consulting | Domain Registration