Skip site navigation (1)Skip section navigation (2)
Date:      Wed, 9 Feb 2005 02:48:35 -0800
From:      "Loren M. Lang" <lorenl@alzatex.com>
To:        Ken Hawkins <ken@rosewoodblues.com>
Cc:        "<freebsd-questions@freebsd.org> <freebsd-questions@freebsd.org>" <freebsd-questions@freebsd.org>
Subject:   Re: handling multiple ips on a box?
Message-ID:  <20050209104835.GP8619@alzatex.com>
In-Reply-To: <4267ae6afacb340fbe4f67e404276a7d@rosewoodblues.com>
References:  <4267ae6afacb340fbe4f67e404276a7d@rosewoodblues.com>

next in thread | previous in thread | raw e-mail | index | archive | help
On Mon, Feb 07, 2005 at 09:51:01AM -0500, Ken Hawkins wrote:
> 
> Your message
> 
>   To:      'freebsd-questions@freebsd.org'
>   Subject: handling multiple ips on a box?
>   Sent:    Wed, 2 Feb 2005 10:17:55 -0600
> 
> did not reach the following recipient(s):
> 
> 'freebsd-questions@freebsd.org' on Fri, 4 Feb 2005 10:18:33 -0600
>     The message was undeliverable because the recipient specified in the
> recipient postal address was not known at this address
> 	The MTS-ID of the original message is: c=US;a=
> ;p=Broadjam;l=HERMES-050202161755Z-19504
>     MSEXCH:IMS:Broadjam:HQ:HERMES 3450 (000B09AA) 450 Client host
> rejected: cannot find your hostname, [68.249.86.134]
> 
> 
> 
> From: Ken Hawkins <ken@broadjam.com>
> Date: February 2, 2005 11:17:55 AM EST
> To: "'freebsd-questions@freebsd.org'" <freebsd-questions@freebsd.org>
> Subject: handling multiple ips on a box?
> 
> 
> Sorry if this is not quite the place to ask however, if it is not can
> someone point me toward the right resource (on the net) for answers. I
> am
> running FreeBSD on a box with an ethernet;
> ifconfig
> em0: flags=8843<UP,BROADCAST,RUNNING,SIMPLEX,MULTICAST> mtu 1500
>         options=1b<RXCSUM,TXCSUM,VLAN_MTU,VLAN_HWTAGGING>
>         inet ???.???.???.151 netmask 0xffff0000 broadcast 10.50.255.255
>         inet6 fe80::230:48ff:fe2c:76e2%em0 prefixlen 64 scopeid 0x1
>         inet ???.???.???.152 netmask 0xffffffff broadcast 10.50.1.152
>         inet ???.???.???.153 netmask 0xffffffff broadcast 10.50.1.153
>         ether 00:30:48:2c:76:e2
>         media: Ethernet 100baseTX <full-duplex>
>         status: active
> 
> the <???> are just our ips. you will notice that .152 and .153 are
> aliases
> and are mapped to external ips via a switch. my question is how can I
> resolve names to the ip aliases on the box? ie
> 
> ???.???.???.152 -> a.net
> 
> and
> 
> ???.???.???.153 -> b.net
> 
> is this a /etc/hosts kind of entry?
> 
> ???.???.???.152    web1.a.net web1
> ???.???.???.152    web1.a.net.
> ???.???.???.153    web1.b.net web1
> ???.???.???.153    web1.b.net.

I'm assuming the ???'s in the hosts file are 10.50.1, right?

Remove the 2nd and 4th lines, and that the alias web1 occurs twice is bad.
Otherwise it should be fine.

> 
> any help would be greatly appreciated!
> 
> ken;
> _______________________________________________
> freebsd-questions@freebsd.org mailing list
> http://lists.freebsd.org/mailman/listinfo/freebsd-questions
> To unsubscribe, send any mail to "freebsd-questions-unsubscribe@freebsd.org"

-- 
I sense much NT in you.
NT leads to Bluescreen.
Bluescreen leads to downtime.
Downtime leads to suffering.
NT is the path to the darkside.
Powerful Unix is.

Public Key: ftp://ftp.tallye.com/pub/lorenl_pubkey.asc
Fingerprint: B3B9 D669 69C9 09EC 1BCD  835A FAF3 7A46 E4A3 280C
 



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?20050209104835.GP8619>