View previous topic :: View next topic |
Author |
Message |
vraeden n00b
Joined: 14 Jan 2004 Posts: 6
|
Posted: Wed Jul 13, 2005 3:54 pm Post subject: Two Adapters with the Same IP Address |
|
|
I have a home network with a machine running dhcpd and a laptop that has both a wireless and a wired connection. How do I configure dhpcd to give both adapters the same IP address? I searched and searched and couldn't determine if it was possible.
Thanks |
|
Back to top |
|
|
jmbsvicetto Moderator
Joined: 27 Apr 2005 Posts: 4735 Location: Angra do Heroísmo (PT)
|
Posted: Wed Jul 13, 2005 4:18 pm Post subject: |
|
|
Hi.
If I understood your question correctly, you want to know how to tell ISC DHCP to handle the same ip for two different cards, right?
You can try to do that by using reservations and using the same IP address for the MAC addresses of the two nics. I just don't know if DHCP won't complain about that. Furthermore, you're probably not going to like what will happen to your network if you have your two cards with the same IP address working at the same time. However, if ISC DHCP lets you use this configuration and you never use the nics at the same time, it should be work. _________________ Jorge.
Your twisted, but hopefully friendly daemon.
AMD64 / x86 / Sparc Gentoo
Help answer || emwrap.sh
|
|
Back to top |
|
|
robdd Tux's lil' helper
Joined: 02 Jan 2005 Posts: 142 Location: Sydney Australia
|
Posted: Thu Jul 14, 2005 12:24 pm Post subject: |
|
|
Can you explain why you want both adapters on the machine to have "the same IP address", and what your network setup is ?
I *think* you can actually configure two network adapters on the same box to have the same IP, but then you run into all sorts of routing problems if they are connected to the same network. Say your local net is 192.168.1.xxx and your IP for both adapters on the laptop is 192.168.1.100 - then if you want to send a packet to 192.168.1.1 how does your laptop's poor kernel decide which adapter to send the packet to ? It will probably always pick one of the adapters so you won't be able to use the other. _________________ Rob Diamond
Gentoo Hack, hack, hacker
Sydney, Australia |
|
Back to top |
|
|
stickboy2642 Tux's lil' helper
Joined: 21 Jan 2004 Posts: 129 Location: MT, USA
|
Posted: Thu Jul 14, 2005 6:01 pm Post subject: |
|
|
Correct me if I am wrong, but if you try and run them both at the same time with the same IP, won't the kernel complain? _________________ <?PHP
if ($desireToSolveProblem > 0){
solve($problem);
}else{
drink($beer);
} ?> |
|
Back to top |
|
|
|