After more testing and fiddling, it looks like I've solved all the
problems. The interfaces come up, everything functions and I can use
iptables to configure the LiveCD as a gateway/router that another
machine can use. The process:
1) delete /etc/sysconfig/network-scripts/ifcfg-eth*.bak
2) grab some basic stuff (e.g. hwaddr) out of
/etc/sysconfig/network-scripts/ifcfg-eth*
3) overwrite those config files as I want them
4) restart network (service network restart)
I'm not sure why the network init script is creating the .bak scripts
(step 1) but they seem to be the cause of the "network unreachable"
errors that I get with some commands and not others. I've tried
various approaches to creating these files before the network init
script runs and it overwrites them. Of course if I dug into the code of
that script and the things it drives I'd probably have a d'oh moment...
Tim
Tim Wood wrote:
I actually posted a slightly newer email that has a solution that I
thought worked. NetworkManager does have to be disabled. It also
looks like BIND has to be running locally as a caching nameserver (the
default config I believe...). I'm running into a failure to start on
some dhcp-related items so the point about dhclient may prove to be
very useful.
I'm still trying to run down a weird problem where the interfaces seem
to be up but I get network unreachable in certain circumstances. I'm
testing a possible solution now.
thanks,
Tim
Elias Hunt wrote:
Tim,
We use two network interfaces here and theoretically can handle one
static, one dhcp though I haven't tested such a scenario. I have tested
either type separately for one interface, and certainly static for two
interfaces. In our environment we had to remove NetworkManager to get
things to work, but do have dhclient installed to handle dhcp. This is
all under F7, but I would guess mostly is applicable to F8.
Hope this helps some.
-Eli
-----Original Message-----
From: [EMAIL PROTECTED]
[mailto:[EMAIL PROTECTED] On Behalf Of Tim Wood
Sent: Friday, January 18, 2008 1:35 AM
To: [email protected]
Subject: [Fedora-livecd-list] eth0 and eth1 in kickstart
In my livecd-creator kickstart, I'm trying variants to do one dhcp
and one static eth:
network --bootproto=dhcp --device=eth0 --onboot=on
network --bootproto=static --device=eth1 --onboot=on --ip=[ snip ]
When I check ifconfig, I have eth1 with dhcp and eth0 without an ip.
When I go through Network Device Control (gui), I see eth0, eth1,
eth0.bak and eth1.bak with my static dumped in one weird place and my
dhcp in another. Headache time...
When I googled around I didn't find much useful besides a grumpy post
that indicates there are problems with Network Manager under f8.
Heavily snipped down version:
Fedora's implementation of Network Manager ... will (not) allow you
to set your system to a fixed IP address - only DHCP assigned
addresses work. ... take a look at
http://www.fedoraforum.org/forum/showthread.php?t=172205&highlight=netwo
rkmanager
Is anybody on the list using eth0 and eth1 in a kickstart file or
have an idea how to make such a setup work.
_________________________________
Tim Wood, CLP, RHCT
719.338.7484 (tel)
The Data Wranglers
Web, Database & more since since 1994
www.datawranglers.com
--
Fedora-livecd-list mailing list
[email protected]
https://www.redhat.com/mailman/listinfo/fedora-livecd-list
--
Fedora-livecd-list mailing list
[email protected]
https://www.redhat.com/mailman/listinfo/fedora-livecd-list
--
_________________________________
Tim Wood, CLP, RHCT
719.338.7484 (tel)
The Data Wranglers
Web, Database & more since since 1994
www.datawranglers.com
--
Fedora-livecd-list mailing list
[email protected]
https://www.redhat.com/mailman/listinfo/fedora-livecd-list