LinuxQuestions.org

LinuxQuestions.org (/questions/)
-   Linux - Networking (https://www.linuxquestions.org/questions/linux-networking-3/)
-   -   Grub Options for different IP configurations (https://www.linuxquestions.org/questions/linux-networking-3/grub-options-for-different-ip-configurations-239772/)

AlbaWolf 10-07-2004 07:02 AM

Grub Options for different IP configurations
 
Hello

I am trying to employ grub to set-up such that I can boot to

a) a dhcp provided ip address
b) static ip address

In info grub it states ifconfig (and dhcp/bootp) are commands available
to grub.

I can figure out where to pass them ?

Any help would be sincerely appreciated.

Thanking you

I Taylor
St Andrews University

Oliv' 10-07-2004 10:24 AM

Hi,

Here is the way I would proceed (I don't think that's the best...):
As you must have one config with dynamic IP and another with a static one... I would build 2 kernel... 'cause the static config does not need to run a kernel with bootp or things like that.
Then you just have to modify your network config script which should choose the config to run thanks to /proc/cmdline

Oliv'

aus9 10-07-2004 01:01 PM

I can't help but there talk about it in the manual here
http://www.gnu.org/software/grub/manual/grub.html


All times are GMT -5. The time now is 12:05 PM.