Gentoo Forums
Gentoo Forums
Gentoo Forums
Quick Search: in
Two Adapters with the Same IP Address
View unanswered posts
View posts from last 24 hours

 
Reply to topic    Gentoo Forums Forum Index Networking & Security
View previous topic :: View next topic  
Author Message
vraeden
n00b
n00b


Joined: 14 Jan 2004
Posts: 6

PostPosted: Wed Jul 13, 2005 3:54 pm    Post subject: Two Adapters with the Same IP Address Reply with quote

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
View user's profile Send private message
jmbsvicetto
Moderator
Moderator


Joined: 27 Apr 2005
Posts: 4735
Location: Angra do Heroísmo (PT)

PostPosted: Wed Jul 13, 2005 4:18 pm    Post subject: Reply with quote

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
View user's profile Send private message
robdd
Tux's lil' helper
Tux's lil' helper


Joined: 02 Jan 2005
Posts: 142
Location: Sydney Australia

PostPosted: Thu Jul 14, 2005 12:24 pm    Post subject: Reply with quote

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
View user's profile Send private message
stickboy2642
Tux's lil' helper
Tux's lil' helper


Joined: 21 Jan 2004
Posts: 129
Location: MT, USA

PostPosted: Thu Jul 14, 2005 6:01 pm    Post subject: Reply with quote

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
View user's profile Send private message
Display posts from previous:   
Reply to topic    Gentoo Forums Forum Index Networking & Security All times are GMT
Page 1 of 1

 
Jump to:  
You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot vote in polls in this forum