[K12OSN] You can't have LTSP and network too

Patrick Fleming k12ltsp at rwcinc.net
Tue Nov 18 15:29:41 UTC 2008


One problem that I see is that you have eth0 and eth1 on 192.168.1.0
network. I would try setting eth1 to 192.168.0.x and see if you get
anything different. At first glance, this would appear to have the
interfaces fighting for the network and routes. If eth1 is also offering
dhcp addresses to your thin clients you will have to edit
/etc/dhcpd.conf and probably your named files.

Mike Rathburn wrote:
> I've run into the same problem, although I wasn't even able to get a
> 1420 PXE to get a DHCP assignment.  This is related to my earlier post
> "New Fedora9 Installation and Networking".  I wanted to go through a
> reinstall to make sure I wasn't losing my mind.
> 
> Installed F9 with two interfaces - eth0 set to DHCP, eth1 set to
> static.  Went through the instructions as posted in the wikki, but
> here's an overview of the steps done for clarity:
> 
> After F9 install with reboot, eth0 got DHCP address 192.168.1.117,
> eth1 is statically set to 192.168.1.25.  NetworkManager is on, but the
> eth1 network interface was inactive.  Networking was only working
> through eth0.  Had to do 'chkconfig network on' to get the two network
> interfaces to activate on startup.  Rebooted.  Networking is working
> fine for both interfaces.
> 
> yum install ltsp-server
> Rebooted.
> yum install ltsp-vmclient
> Uncommented the option_cache_value line in /etc/ltsp/ltsp-build-client.conf
> echo "/opt/ltsp *(ro,async,no_root_squash)" >> /etc/exports
> ifup ltspbr0
> chkconfig network on
> Rebooted.
> for service in xinetd ltsp-dhcpd rpcbind nfs sshd; do chkconfig
> $service on; service $service restart; done
> for server in ldminfod nbdrootd nbdswapd tftp; do chkconfig $server on; done
> ltsp-build-client
> Rebooted.
> Verifed dhcp is running via pgrep dhcpd
> Stopped the firewall via service iptables stop
> Added BRIDGE=ltspbr0 to /etc/sysconfig/network-scripts/ifcfg-eth0
> Did service network restart
> **** LOST NETWORK CONNECTION! ****
> 
> Now I can't just paste the output of ifconfig because I don't have a
> network connection.  However, ifconfig shows that eth0 doesn't have
> any address info, so it's inactive.  eth1 has inet address of
> 192.168.1.25/255.255.255.0, as it should.  ltspbr0 has inet address of
> 172.31.100.254/255.255.255.0, bound to the hardware address of eth0.
> 
> I did chkconfig --list network, and 2,3,4,5 are on as they should be.
> 
> My route -n shows:
> 
> Dest                 GW                 Mask                   Iface
> 192.168.1.0       0.0.0.0            255.255.255.0       eth1
> 172.31.100.0     0.0.0.0            255.255.255.0       ltspbr0
> 169.254.0.0       0.0.0.0            255.255.0.0          ltspbr0
> 0.0.0.0              192.168.1.1     0.0.0.0                 eth1
> 
> ifcfg-eth0 has:
> DEVICE=eth0
> BOOTPROTO=dhcp
> HWADDR=00:1a:a0:33:03:60
> ONBOOT=yes
> DHCP_HOSTNAME=ltsp.childrenfirstflorida.org
> DNS1=192.168.1.1
> SEARCH='childrenfirstflorida.org'
> NM_CONTROLLED=no
> TYPE=Ethernet
> BRIDGE=ltspbr0
> 
> ifcfg-eth1 has:
> DEVICE=eth1
> BOOTPROTO=none
> BROADCAST=192.168.1.255
> HWADDR=00:14:d1:15:4e:39
> IPADDR=192.168.1.25
> IPV6INIT=yes
> IPV6_AUTOCONF=yes
> NETMASK=255.255.255.0
> NETWORK=192.168.1.0
> ONBOOT=yes
> DNS1=192.168.1.1
> SEARCH='childrenfirstflorida.org'
> NM_CONTROLLED=no
> GATEWAY=192.168.1.1
> TYPE=Ethernet
> USERCTL=no
> PEERDNS=yes
> 
> ifcfg-ltspbr0 has:
> DEVICE=ltspbr0
> TYPE=Bridge
> ONBOOT=yes
> BOOTPROTO=static
> STP=off
> DELAY=0.1
> USERCTL=no
> IPV6INIT=no
> PEERDNS=yes
> NETMASK=255.255.255.0
> IPADDR=172.31.100.254
> ARP=yes
> 
> Now, cruising on into the GUI, System -> Administration -> Network is
> showing eth0 inactive, eth1 and ltspbr0 both active.  The
> NetworkManager icon is showing no connections to manage.  Services ->
> network is enabled and started.  dhcpd is shown as disabled, but is
> started.  iptables is enabled, but is stopped.  ltsp-dhcpd is enabled
> and started.
> 
> So, again, what have I missed?
> 
> Thanks!
> 
> _______________________________________________
> K12OSN mailing list
> K12OSN at redhat.com
> https://www.redhat.com/mailman/listinfo/k12osn
> For more info see <http://www.k12os.org>
> 




More information about the K12OSN mailing list