[K12OSN] eth alias help

Caleb Wagnon cwagnon at redbugmail.k12.ar.us
Thu Feb 26 15:35:04 UTC 2004


Steve Wright said:

> off the top of my head ;
>
> You will need an additional startup script.  iproute2 is not implemented
> well in userspace just yet - the tools are there, but not the supporting
> scripting.  Add a script in /etc/init.d and ln -s to it from somewhere
> as early as possible, but after your main networking has started.
>
> Take care that swapping runlevels back and forth will not load and
> re-load this script repeatedly, or bad things will happen.. baaad
> things, man.
>
> /etc/init.d/iproute2
>
> #!/bin/bash
> # chkconfig:
> # description: load our iproute2 stuff
>
> ip address add 192.168.n.254/24 dev eth0
>
> # done
>
>
> I expect at this point you may simply hand-run /etc/init.d/iproute2
> and restart your services and you should on-the-air!  ;-)

Ok. So if this doesn't work can I get my money back? =)

-- 
Caleb Wagnon MCP A+ CCNA
Technology Coordinator
Fordyce School District
870.352.2968
http://redbugs.dsc.k12.ar.us










More information about the K12OSN mailing list