From mboxrd@z Thu Jan 1 00:00:00 1970 X-Google-Language: ENGLISH,ASCII-7-bit X-Google-Thread: fee84,e3c941599280c497 X-Google-Attributes: gidfee84,public From: "Jeffrey L. Oliver" Subject: Re: Ethernet with virtual interfaces? Date: 1999/02/24 Message-ID: <36D49CEF.160BEEDF@uleth.ca>#1/1 X-Deja-AN: 448130603 Content-Transfer-Encoding: 7bit References: <36D4696B.CE581751@uleth.ca> <7b1uu5$m5i@ds2.acs.ucalgary.ca> To: jeff.oliver@uleth.ca X-Accept-Language: en Content-Type: text/plain; charset=us-ascii Organization: University of Lethbridge Mime-Version: 1.0 Newsgroups: comp.unix.osf.osf1 Serguei Patchkovskii wrote: > > Jeffrey L. Oliver (jeff.oliver@uleth.ca) wrote: > : I have an Alpha 3000, model 500 , running 4.0d. I would like to set > : up a secondary ip address on the ethernet port, but cannot seem > : to get it to work. > > : Has anyone done this? > > A lot of people did this, and it works (for some definition of "works"). > In order to get help here, you'll have to spell exactly what you want > to achieve, what you did, what happened afterwards, and why do you > think it does not work. > > Regards, > > /Serge.P Well, let me explain the couple of ways that I tried this. First, I tried to use the GUI. In the configuration for ln0, there is a box that is labeled "alias address". In this box I entered a second IP address that I would like the box to answer to. For example: IP Address 10.10.37.252 Netmask 255.255.224.0 And in the extended part of the display Alias 10.10.37.253 The second way that I tried this was from the console. I entered the following command: ifconfig ln0 inet 10.10.37.252 netmask 255.255.224.0 broadcast 10.10.63.255\ alias 10.10.37.253 netmask 255.255.224.0 In both cases, when I apply the changes and look at the ifconfig entry for ln0, I get the following: # ifconfig -a ln0: flags=c63 inet 10.10.37.252 netmask ffffe000 broadcast 10.10.37.253 ipmtu 1500 Now, the broadcast address for ln0 is incorrect as it should be 10.10.63.255, and I experience the following phenomenon. When I ping 10.10.37.252 all is as it should be. When I ping 10.10.37.253, I get answers (DUP!) from all sorts of ip address as if I pinged the broadcast address. -- ----------------------------------------------------------------------- Sys Admin. It's a dirty job, but someone said I had to do it! ----------------------------------------------------------------------- Jeffrey L. Oliver Phone: (403) 329-5162 Network Analyst Fax: (403) 382-7108 Telecommunication Unit Email: jeff.oliver@uleth.ca University of Lethbridge www: http://home.uleth.ca/~jeff.oliver -----------------------------------------------------------------------