Networking Forums

Networking Forums > Network Hardware > Network Routers > dhclient blues

Reply
Thread Tools Display Modes

dhclient blues

 
 
Zenon Panoussis
Guest
Posts: n/a

 
      07-09-2004, 10:39 PM

I hope someone here can give me a pointer to a solution
because this has me ripping my hair.

There is a hole in the wall that brings internet connectivity
and IP addresses assigned by DHCP. No modem or anything, just
an ethernet plug. I am entitled to 5 IPs, which are assigned
to me at random and non-consecutively anywhere within a random
/26. As long as I put a switch on the wall and connect machines
to it, I have no problems.

However, I want a firewall between myself and the net. This
means a box with two interfaces, say eth0 to the ISP and
eth1 to the LAN. The machines on the LAN must, for various
reasons, remain on public IP space. Thus, NAT is ruled out.

And here comes trouble. eth0 on the firewall gets an IP from
the ISP alright. I have dhcrelay running, so the machines on
the LAN can also get their IPs from the ISP as soon as eth1
on the firewall is up. But how do I get an IP for eth1?

If I configure eth1 for dhcp, it sends its requests out on
the LAN, which is pretty useless. At the same time I can't
configure it statically because I don't have a contiguous
subnet, so whatever IP I could take at random from the
random /26 I happen to be part of, might be assigned to
someone else. And dhcrelay will relay *through* the machine,
but not *on* it.

Any ideas anyone how I could get eth1 to send its dhcp
requests out through eth0? Or how I could get eth0 to request
an extra IP and then route it through to eth1?

Z



 
Reply With Quote
 
 
 
Reply

Thread Tools
Display Modes

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 On
HTML code is Off
Trackbacks are On
Pingbacks are On
Refbacks are Off


Similar Threads
Thread Thread Starter Forum Replies Last Post
New Router Blues Adrian C Broadband 0 09-02-2009 08:49 AM
The Router Blues.. Richard Ragon Wireless Internet 10 05-01-2005 04:06 AM
networking blues Jeffery Buchanan Broadband Hardware 0 03-26-2005 06:05 PM
dhclient blues Zenon Panoussis Linux Networking 9 07-23-2004 04:09 AM
Networking Blues Bahram Windows Networking 4 07-31-2003 03:02 AM



1 2 3 4 5 6 7 8 9 10 11