some networking questions, I'm slightly confused

Geoff Shang gshang at uq.net.au
Wed Dec 5 18:29:48 EST 2001


On Tue, 4 Dec 2001, Gregory Nowak wrote:

> 1. Say there is a primary and secondary dns servers on a domain called mydomain.
> Say also that there is a machine called mybox.
> Also, I have ip addresses for primary and secondary dns servers on mydomain.
> Assumming all of the above, and assuming that I have permission to officially be on mydomain which is a valid internet domain,
> what do I do on mybox so that it would be resolvable
> as mybox.mydomain on the net?

Nothing.  It's the primary and secondary DNS servers that control how your
host is resolved, not your box.  As long as mybox has the IP address that
ns1.mydomain.com and ns2.mydomain.com think it has, you should be good to
go.

> 2. Say that I have to nics with 2 static ip address for the outside world.
> How do I set things up so that my box would use both
> nics for outside access instead just either one nic or the other?

As Chris said, what comes in where will depend on what address it is sent
to.  What goes out where depends on a few things.  If you want to use one
interface to access a particular host or network, you can set up a route
accordingly.  If you want to access everything with both, you might be able
to put 2 default routes (i've seen it done but don't know if it works and
if it's supposed to work).  I saw you've been looking at bonding which
might also work, but I don't know about it.

Can I ask, why you have 2 NICs?  Is it just to get 2 addresses or are you
connected to 2 networks?

Geoff.






More information about the Speakup mailing list