Marek Net Admin wrote:
Example:I have IP address pool: 128.0.0.10 - 128.0.0.20 For Debian router I would assign 128.0.0.10 For hosts behind router (in internal network) I would assign 128.0.0.11-128.0.0.20 and this internal hosts must be visible from external network (Internet). INTERNET ---------- Debian Router ----------- Host1, Host2..... 0/0 128.0.0.10 128.0.0.11 128.0.0.12 .... What should I do to make this working?
How are the external ips routed to you? That is, how is your internal and exernal network configured? How is the router configured etc. It is impossible to answer your question whithout knowing this.
You could for example route the external ips to your internal network and then set up extra interfaces with external ips (this would involve host routes since you have not a subnet but only some "stray" ip-adresses, and it would also involve configuring the other routers on your external net to use your router as a router to those ips). You could also DNAT the external ips to internal ips on the router if the external ips are router to your router. You could also change the ips of the computers on the internal network to your knew addresses. There are lot of options, and they depend on how the internal and external network is configured and what you really want.
But as I said, it is hard to answer your question without knowledge of your network configuration. Thus, what is the external ip of your router - i guess it's among the 128.0.0.10-128.0.0.20 range since this is not a subnet. In that case you either need to configure the router as a switch (or just use an ordinary switch or switching hub), proxy arp for the other addresses and then route them or DNAT them to your internal network, or change the other routers on the external network to use your router as the router to your external ips.
/ep
Greetings Marek -----Original Message-----From: Alexandros Papadopoulos [mailto:apapadop@alumni.cmu.edu] Sent: Friday, May 12, 2006 5:15 PMTo: debian-isp@lists.debian.org Subject: Re: External IP to internal host On Friday 12 May 2006 18:08, Marek Net Admin wrote:Hi,I've received pool of external IP addresses from my ISP. How to configure Debian 3.1 to work with this addresses in internal network? I would like assign external addresses to internal host using DHCP and I know how to do this, but i don't know host to make work external addreses in internal network.I'm not sure I understand. You've done what exactly? And what exactly doesn't work? The ideal situation you're trying to achieve is...? -A -- To UNSUBSCRIBE, email to debian-isp-REQUEST@lists.debian.org with a subject of "unsubscribe". Trouble? Contact listmaster@lists.debian.org