D'oh!

chris-n/jUll39koHNgV/OU4+dkA at public.gmane.org chris-n/jUll39koHNgV/OU4+dkA at public.gmane.org
Thu Jan 10 00:25:35 UTC 2008


Lennart Sorensen writes: 

> On Wed, Jan 09, 2008 at 04:49:43PM -0500, chris-n/jUll39koHNgV/OU4+dkA at public.gmane.org wrote:
>> devon at devon:~$ ip addr
>> 1: lo: <LOOPBACK,UP,10000> mtu 16436 qdisc noqueue
>>   link/loopback 00:00:00:00:00:00 brd 00:00:00:00:00:00
>>   inet 127.0.0.1/8 scope host lo
>>   inet6 ::1/128 scope host
>>      valid_lft forever preferred_lft forever
>> 2: eth0: <BROADCAST,MULTICAST,UP,10000> mtu 1500 qdisc pfifo_fast qlen 1000
>>   link/ether 00:01:02:78:0a:7b brd ff:ff:ff:ff:ff:ff
>>   inet 192.168.0.102/24 brd 192.168.0.255 scope global eth0
>>   inet 192.168.0.225/24 brd 192.168.0.255 scope global secondary eth0:0
>>   inet6 fe80::201:2ff:fe78:a7b/64 scope link
>>      valid_lft forever preferred_lft forever  
>> 
>> Still no 192.168.0.9 
> 
> But you do have both .102 and .225 so you managed 2 addresses so far.

Managed to get on the Internet (those addresses were just assigned by the 
cable modem (or router)). What I can't do is print and scp across my LAN. I 
want to print to the printer-attached computer (192.168.0.2/24). 

> .225 is currently assigned to eth0:0 which means whatever tool you are
> using to configure it is using the old way of doing things.  Giving it
> an alias interface doesn't add anything anymore.

That makes sense. So, how do I assign a different address to the same NIC? I 
want it to be 192.168.0.9 with subnet mask 255.255.255.0. I did this in the 
RH realm with 'neat' so I never learned the manual way. I'm on ubuntu now. 

Chris 

> --
> Len Sorensen
> --
> The Toronto Linux Users Group.      Meetings: http://gtalug.org/
> TLUG requests: Linux topics, No HTML, wrap text below 80 columns
> How to UNSUBSCRIBE: http://gtalug.org/wiki/Mailing_lists
 

--
The Toronto Linux Users Group.      Meetings: http://gtalug.org/
TLUG requests: Linux topics, No HTML, wrap text below 80 columns
How to UNSUBSCRIBE: http://gtalug.org/wiki/Mailing_lists





More information about the Legacy mailing list