LinuxQuestions.org
Download your favorite Linux distribution at LQ ISO.
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 01-14-2009, 03:02 PM   #1
krutok
LQ Newbie
 
Registered: Jan 2009
Posts: 3

Rep: Reputation: 0
DHCP through firewall


INTERNET/ISP(dhcp server) <--> eth0 my linux box (nas/router) eth1 <--> switch <--> rest of my internet capable devices

So, What I want is for the ISP's dhcp mechanism to work for the devices behind the firewall. Looking at the DHCP protocol (shallowly) I don't see how it could be possible since in the initial broadcast the mac is set and i do not think that the answer would reach my linux box had I put in another mac then eth0's. And settings eth0's would most probably not give me the functionality i want..
 
Old 01-14-2009, 04:05 PM   #2
hvc123
Member
 
Registered: Jun 2004
Posts: 33

Rep: Reputation: 16
if i understand you correctly it will depend on how many ip address's have been assigned to your account.

if like me you are on virgin media(ntl) in the uk you only get 1 ip on your home account. i think there is an account that you can get 5

why not turn you linux machine into a dhcp server as well its not hard. then your nix box can have the isps ip and your network whatever ip you decide, or are you wanting all your machines to have an external ip ?

also you can have more than one ip on eth0. you can alias them like eth0:1 eth0:2
sorry if this is not what you need.

Last edited by hvc123; 01-14-2009 at 04:08 PM.
 
Old 01-14-2009, 05:29 PM   #3
krutok
LQ Newbie
 
Registered: Jan 2009
Posts: 3

Original Poster
Rep: Reputation: 0
I am allowed 5 IPs. I am no expert in DHCP or ISPs and whether or not it is common practice to allow the same MAC to allocate all 5, I do not know.

One of the main reasons for this setup is since the ISP "arp poisons" the network if I connect them all to a switch, i.e. all off my devices will get the wrong MAC for "my" ip's and all packets will be routed through the ISP effectively blocking some ports even on my own home LAN, as well as limiting bandwidth... pretty idiotic I suppose, not sure what the rationale behind this is, perhaps there is a common switch that me and my neighbors are connected to. Most probably, since when I arp poison the network myself I can read my neighbors traffic, mostly kids sitting on msn etc.. never mind... I only tested this of course to test the security. Anywho,

The linux box is the solution to several problems/features, and hopefully this can be solved without my devices having to be on internal ips, and of course with the IPs delivered by the ISP through DHCP.
 
Old 01-17-2009, 05:02 AM   #4
krutok
LQ Newbie
 
Registered: Jan 2009
Posts: 3

Original Poster
Rep: Reputation: 0
*bump*
 
  


Reply


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
DHCP firewall rules mullog Linux - Networking 1 04-24-2005 11:52 PM
firewall not allowing dhcp? sarah_t_s Linux - Networking 2 07-25-2004 08:05 AM
firewall script. DHCP? e1000 Linux - Networking 1 11-08-2003 08:13 AM
dhcp, firewall, router, and such Spaz17 Linux - Networking 4 08-11-2003 01:41 PM
Firewall/DHCP Problem (I think) Eric Pratt Linux - Newbie 24 04-21-2003 10:14 PM

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

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