From mboxrd@z Thu Jan 1 00:00:00 1970 X-Google-Language: ENGLISH,ASCII-7-bit X-Google-Thread: f72b0,eda29bddbfcb350c X-Google-Attributes: gidf72b0,public X-Google-Thread: 11035b,c9d1de14a09fad4f X-Google-Attributes: gid11035b,public X-Google-Thread: 1020c6,eda29bddbfcb350c X-Google-Attributes: gid1020c6,public X-Google-Thread: 11035d,eda29bddbfcb350c X-Google-Attributes: gid11035d,public X-Google-Thread: 10650a,eda29bddbfcb350c X-Google-Attributes: gid10650a,public X-Google-Thread: fee84,eda29bddbfcb350c X-Google-Attributes: gidfee84,public From: Brian McCauley Subject: Re: IP aliasing & telnet Date: 1998/05/20 Message-ID: #1/1 X-Deja-AN: 354909992 References: <355B4B97.1388DC9B@cisco.com> <6jhn36$hfq$1@alpha2.radio-msu.net> <3560AEF9.73945FDE@cisco.com> Distribution: inet Organization: The University of Birmingham, UK. Newsgroups: comp.unix.internals,comp.unix.misc,comp.unix.osf.osf1,comp.unix.solaris,comp.unix.admin,comp.unix.programmers Srikanth Throvagunta writes: > What are the uses of IP aliasing? > One use I know of is to keep the system as webserving different > homepages. Of course, this needs tweaking the settings in named conf > files:-) Are there any other practical uses? If the kernel uses > only the primary address, for outgoing IP packets, there does not > seem to be any real use from a source viewpoint. Can anyone please > take up this issue and throw some light. The "proper" use of IP aliases is where a single physical LAN carries more than on subnet - typically an internet subnet and an intranet subnet (globally non-routable). An single interface can have an address in each subnet and behave like 2 NICs on the same LAN. If the kernel were only to use the primary address then obviously it is broken in this context. I don't know about other unicies but the Linux kernel has a compile time option to determine if you want proper alias semantics or want to save the small run-time overhead of implementing the proper semantics and have the broken semantics. -- \\ ( ) No Bullshit! | Email: B.A.McCauley@bham.ac.uk . _\\__[oo from | Phones: +44 121 471 3789 (home) .__/ \\ /\@ /~) /~[ /\/[ | +44 121 627 2173 (voice) 2175 (fax) . l___\\ /~~) /~~[ / [ | PGP-fp: D7 03 2A 4B D8 3A 05 37... # ll l\\ ~~~~ ~ ~ ~ ~ | http://wcl-l.bham.ac.uk/~bam/ ###LL LL\\ (Brian McCauley) | Finger: bam@wcl-rs.bham.ac.uk