LinuxQuestions.org
Latest LQ Deal: Latest LQ Deals
Home Forums Tutorials Articles Register
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Distributions > Slackware
User Name
Password
Slackware This Forum is for the discussion of Slackware Linux.

Notices


Reply
  Search this Thread
Old 01-28-2005, 12:24 PM   #16
egag
Senior Member
 
Registered: Jul 2004
Location: Netherlands
Distribution: Slackware
Posts: 2,721

Rep: Reputation: 53

well...does that win-box have an ip-adress ?

otherwise give it a static like 192.168.0.5 and try to ping ?

egag
 
Old 01-28-2005, 12:30 PM   #17
mikz
Member
 
Registered: Sep 2004
Distribution: Slackware current
Posts: 109

Original Poster
Rep: Reputation: 15
At the moment I using CAT5 5e patch cable, which is what I'm using on eth0 to my internet router. I've also check the netcards and they're working OK.
 
Old 01-28-2005, 12:37 PM   #18
mikz
Member
 
Registered: Sep 2004
Distribution: Slackware current
Posts: 109

Original Poster
Rep: Reputation: 15
I already tried giving the win-box a static IP, but there is still no ping. The winbox is now set up to automatically receive DHCP. Either way I should be able to ping the server from the workstation right.?

Is there any 'dummy' test that I can type in from the linux command prompt that would show an error.?
 
Old 01-28-2005, 12:45 PM   #19
egag
Senior Member
 
Registered: Jul 2004
Location: Netherlands
Distribution: Slackware
Posts: 2,721

Rep: Reputation: 53
strange thing....

i think your win-box needs an ip. to ping it ( what command would you use ? ping < adress> )

you could try " #ping -b 192.168.0.255 " ( broadcast ) to see if there's any response.

and patch cables are oke.. if the leds are burning there should be a connection possible.

edit: also try " #ping -I eth1 < adress> "

egag

Last edited by egag; 01-28-2005 at 12:48 PM.
 
Old 01-31-2005, 11:15 AM   #20
mikz
Member
 
Registered: Sep 2004
Distribution: Slackware current
Posts: 109

Original Poster
Rep: Reputation: 15
DHCPD is now working

I finally managed to find the problem. It was a mixture of cables and firewalls. I connected 2 new cables and dropped the firewall on both the server and the workstation. After doing this I could ping both machines an obtain an IP from the server.

My next step is to configure an IPtables firewall that will allow access to the new subnet and function as a NAT. My current working dhcpd.conf is now:

ddns-update-style ad-hoc;

subnet 192.168.1.0 netmask 255.255.255.128 {
range 192.168.1.11 192.168.1.50;
option routers 192.168.1.1;
option domain-name-servers 193.162.xxx.xxx, 194.239.xxx.xxx;
max-lease-time 86400000;
min-lease-time 900;
default-lease-time 864000;
}

Any suggestions for a simple NAT firewall which allows users on the eth1 LAN to access the internet through eth0.?
 
  


Reply



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
Gateway / DHCP Server problem on Slackware captain_bogus Linux - Networking 11 11-25-2008 01:28 PM
dhcp client not getting IP from dhcp server jkmartha Linux - Networking 2 06-17-2005 08:12 AM
how can a DHCP client get the DHCP server IP? AshesOfTime Linux - Networking 3 11-24-2004 06:50 AM
DHCP server in slackware 9.1? Blag-foo Linux - Newbie 4 09-30-2003 09:18 AM
XP Pro Build 2600/sp1 v.1105 DHCP Client to Redhat 8.0 DHCP Server - Problems atomant Linux - Networking 5 06-28-2003 11:24 AM

LinuxQuestions.org > Forums > Linux Forums > Linux - Distributions > Slackware

All times are GMT -5. The time now is 06:27 AM.

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