T.R | Title | User | Personal Name | Date | Lines |
---|
10026.1 | QAR time... | NNTPD::"[email protected]" | Farrell Woods | Tue Jun 03 1997 11:09 | 28 |
| It looks like the code that parses alias lists isn't working correctly.
You should be able to do something like this:
ifconfig ln0 16.140.32.161 aliaslist 10.1.1.2,3,4 netmask 255.255.255.0
But I can't get ifconfig to swallow that... (note that in this example the
aliases will receive the same netmask as the primary address. This may or
may NOT be what you wanted.)
For now you'll have to add lines like this to the file /etc/inet.local:
ifconfig ln0 alias 10.1.1.2
ifconfig ln0 alias 10.1.1.3
...
Note that in the above the netmask will default to 255.0.0.0. You can give
a more resrictive netmask if you like.
Lastly, you can check to see if the aliases were added and that the masks
are correct with this:
netstat -ia -Iln0
-- Farrell
[Posted by WWW Notes gateway]
|
10026.2 | I should have asked... | NNTPD::"[email protected]" | Farrell Woods | Tue Jun 03 1997 11:19 | 10 |
| When I tried ifconfig with the "aliaslist" command, it was on a V4.2 system
(steel). I should have asked which version of the OS you were using.
The "aliaslist" feature of the ifconfig command should work as documented
in V4.0. If that's what you're running then please give it a shot.
-- Farrell
[Posted by WWW Notes gateway]
|
10026.3 | fingers runneth away... | NNTPD::"[email protected]" | Farrell Woods | Tue Jun 03 1997 11:32 | 10 |
| ...before the brain is fully engaged.
I was having difficulty w/steel because I was typing "alias" instead of
"aliaslist". No qar necessary.
Time for that coffee...
-- Farrell
[Posted by WWW Notes gateway]
|
10026.4 | use /etc/inet.local | SMURF::DUSTIN | | Tue Jun 03 1997 12:05 | 6 |
| The best place for alias definitions is in the /etc/inet.local
file, starting in V4.0 and beyond. You can put anything you want
in there and not have to worry about rc.config style variables.
John
|
10026.5 | Thanks | CSC32::A_LICAUSE | | Tue Jun 03 1997 12:36 | 5 |
| Thanks very much. I'm doing this on a V4.0 system.
Both suggestions seem to work.
Al
|