RE: Multihoming question (Linux 2.4/2.6, ipv4)

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



-----BEGIN PGP SIGNED MESSAGE-----

Andrew Walrond wrote:

> Before I waste time trying it, can anyone tell me...
> 
> If I multihome a network interface to have two ip addresses, 
> does each ip 
> address have it's own ports, are do they share one set of ports?

Nopes, IP+port is unique in TCP/UDP/SCTP.

> (Reason: Need to setup dnscache and tinydns on two different 
> ips on one machine, but they both need to use port 53)

Configure them to bind(3) to a specific IP and that should be no problem.

Btw, I wouldn't call it multihoming, it's called virtual hosting.

Greets,
 Jeroen

-----BEGIN PGP SIGNATURE-----
Version: Unfix PGP for Outlook Alpha 13 Int.
Comment: Jeroen Massar / http://unfix.org/~jeroen

iQA/AwUBQA1s/CmqKFIzPnwjEQLMhwCbBVhbK0p/tU2QROOItSkWf6S4dLMAoJwC
BIPITWYTiM/Nqvj836a/GKfh
=B8OW
-----END PGP SIGNATURE-----

-
: send the line "unsubscribe linux-net" in
the body of a message to majordomo@vger.kernel.org
More majordomo info at  http://vger.kernel.org/majordomo-info.html

[Index of Archives]     [Netdev]     [Ethernet Bridging]     [Linux 802.1Q VLAN]     [Linux Wireless]     [Kernel Newbies]     [Security]     [Linux for Hams]     [Netfilter]     [Git]     [Bugtraq]     [Yosemite News and Information]     [MIPS Linux]     [ARM Linux]     [Linux RAID]     [Linux PCI]     [Linux Admin]     [Samba]

  Powered by Linux