At 09:46 PM 9/19/2003 +, [EMAIL PROTECTED] wrote:
Thanks, Ray. Dhcp-relay is exactly what I wanted to know about.
Unfortunatly, some of the machines on the local network are
running M$ Windows, which from googling I learn lacks real IP
Aliasing support - you can get multiple static IPs, but
Thanks, Ray. Dhcp-relay is exactly what I wanted to know about.
Unfortunatly, some of the machines on the local network are
running M$ Windows, which from googling I learn lacks real IP
Aliasing support - you can get multiple static IPs, but not
static & DHCP at the same time. So at least
that I believe are due
to the IP-masqing. My ISP provides public addresses via DHCP, but
I prefer having static addresses on the local net. I was wondering
if I could use both public & private addresses via IP Aliasing.
Would this work?
Internet
|
|
Gateway |-
provides public addresses via DHCP, but
I prefer having static addresses on the local net. I was wondering
if I could use both public & private addresses via IP Aliasing.
Would this work?
Internet
|
|
Gateway |- eth0 public dynamic address
|- eth1:0 bri
Hi Ravi,
Load the IP Alias module (you can skip this step if you compiled
the module into the kernel):
/sbin/insmod /lib/modules/`uname -r`/ipv4/ip_alias.o
Setup the loopback, eth0, and all the IP addresses beginning with the
main IP address for the eth0 interface:
for example:
/sbin
not?
> My next question is,
> After reconfiguring and recompiling, how can I give
> IP addresses(aliases) to NIC?
> please tell me the commands to be used.
Look for 7.4. IP Aliasing at Linux Networking HOWTO
-
To unsubscribe from this list: send the line "unsubscribe linux-new
Hi,
A little off-topic, but...
you don't have to enable ip alias. you can simply use
(1) ifconfig or (2) iproute2 tool.
iproute2's ip command is more convenient.
464 # ip link set dev $DEV up
465 # ip addr add dev $DEV w.x.y.z/24
466 # ip addr add dev $DEV p.q.r.s/16
467 # ip route add $DES
I want to give more than one IP addresses to my NIC.
For this we have to enable the feature of IP alias
when configuring the kernel and recompile it.
Is there any way to check if the option is already
checked or not?
My next question is,
After reconfiguring and recompiling, how can I give
IP addr