LinuxQuestions.org
Latest LQ Deal: Latest LQ Deals
Home Forums Tutorials Articles Register
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 08-09-2015, 11:25 AM   #1
rbees
Member
 
Registered: Mar 2004
Location: northern michigan usa
Distribution: Debian Squeeze, Whezzy, Jessie
Posts: 921

Rep: Reputation: 46
ip traffic not routed unless assigned static ip


Ladies & Gents,

Thanks for the great help and guidance always provided on this site.

Some time ago I set up a new dhcp/dns/firewall host. Part of the network is assigned static ip's by the dhcp server and visitors get assigned a dynamic ip by dhcp and that all works fine. Yet their traffic is not routed to the Internet unless I write a static rule into the dhcp config, restart it and restart the guest.

I use Arno's iptables firewall. I have been through the config and can't find any setting that I think should account for this behavior. I also have been through the dhcp server config and see nothing there either.

Any ideas?

Thanks
 
Old 08-10-2015, 09:16 AM   #2
smallpond
Senior Member
 
Registered: Feb 2011
Location: Massachusetts, USA
Distribution: Fedora
Posts: 4,140

Rep: Reputation: 1263Reputation: 1263Reputation: 1263Reputation: 1263Reputation: 1263Reputation: 1263Reputation: 1263Reputation: 1263Reputation: 1263
Is the dhcp server sending a gateway IP to the clients? Something like:

Code:
        option routers 192.168.66.1;
 
Old 08-10-2015, 04:46 PM   #3
rbees
Member
 
Registered: Mar 2004
Location: northern michigan usa
Distribution: Debian Squeeze, Whezzy, Jessie
Posts: 921

Original Poster
Rep: Reputation: 46
Thanks smallpond

Code:
authoritative;
option domain-name "torahDisciple.local";
option domain-name-servers 192.168.7.1, 208.67.222.222, 208.67.220.220;

ddns-updates on;
ddns-update-style interim;
ignore client-updates;
update-static-leases on;

default-lease-time 86400;
max-lease-time 86400;
log-facility local7;

allow booting;
subnet 192.168.7.0 netmask 255.255.255.192 {
# 192.168.7.32/26
range 192.168.7.33 192.168.7.62;
option routers 192.168.7.1;
option broadcast-address 192.168.7.63;
}
then some zone declaration and statically assigned ip's.
 
  


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
[SOLVED] How to set up Debian system to use static IP assigned by my ISP jessetaylor84 Linux - Networking 4 09-02-2014 01:15 AM
IP address on static assigned ubuntu server keeps changing! dontworryaboutme Linux - Networking 8 03-30-2012 04:32 PM
How can I tell if my Linux server has a static or dynamic IP address assigned to it? RBMike Linux - Newbie 11 12-15-2009 05:05 PM
Debian eth pulling DHCP even after Static is assigned pork_salad Linux - Networking 2 03-30-2006 06:46 PM
Non-routed traffic monitor??? JeffG2583 Linux - Networking 4 05-23-2005 10:23 AM

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

All times are GMT -5. The time now is 07:51 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