try:

INTERFACES="eth0"

How did you setup the VLANs? Are they really VLANs or just alias ip adrresses?

Regards,
Umberto




On 9/15/05, Enrico Teotti <[EMAIL PROTECTED]> wrote:
> hi,
> I've finally figured out how to configure the vlan network with my
> LTSP lab... right now the server using eth0.1 can browse the internet.
> So I've changed the clients network to the vlan's one (from
> 192.168.1.0 to 192.168.57.0), and also the dhcp config's ip.
> 
> But DHCP is no longer working.
> 
> When the client boot via the PXE enabled nic, it starts looking for
> the DHCP server but nothing happen!
> 
> On the server I've got the following interfaces:
> eth0      Link encap:Ethernet  HWaddr 00:04:75:99:FA:A4
>           inet6 addr: fe80::204:75ff:fe99:faa4/64 Scope:Link
>           UP BROADCAST RUNNING MULTICAST  MTU:1500  Metric:1
>           RX packets:3779 errors:1 dropped:0 overruns:1 frame:1
>           TX packets:1017 errors:0 dropped:0 overruns:0 carrier:0
>           collisions:1 txqueuelen:1000
>           RX bytes:823318 (804.0 KiB)  TX bytes:156041 (152.3 KiB)
>           Interrupt:201 Base address:0xcc00
> 
> eth0.1    Link encap:Ethernet  HWaddr 00:04:75:99:FA:A4
>           inet addr:192.168.57.150  Bcast:192.168.57.255  Mask:255.255.255.0
>           inet6 addr: fe80::204:75ff:fe99:faa4/64 Scope:Link
>           UP BROADCAST RUNNING MULTICAST  MTU:1500  Metric:1
>           RX packets:1418 errors:0 dropped:0 overruns:0 frame:0
>           TX packets:1012 errors:0 dropped:0 overruns:0 carrier:0
>           collisions:0 txqueuelen:0
>           RX bytes:611451 (597.1 KiB)  TX bytes:155425 (151.7 KiB)
> 
> lo        Link encap:Local Loopback
>           inet addr:127.0.0.1  Mask:255.0.0.0
>           inet6 addr: ::1/128 Scope:Host
>           UP LOOPBACK RUNNING  MTU:16436  Metric:1
>           RX packets:47033 errors:0 dropped:0 overruns:0 frame:0
>           TX packets:47033 errors:0 dropped:0 overruns:0 carrier:0
>           collisions:0 txqueuelen:0
>           RX bytes:7202174 (6.8 MiB)  TX bytes:7202174 (6.8 MiB)
> 
> sit0      Link encap:IPv6-in-IPv4
>           NOARP  MTU:1480  Metric:1
>           RX packets:0 errors:0 dropped:0 overruns:0 frame:0
>           TX packets:0 errors:0 dropped:0 overruns:0 carrier:0
>           collisions:0 txqueuelen:0
>           RX bytes:0 (0.0 b)  TX bytes:0 (0.0 b)
> 
> eth0.1 is the VLAN where I'm connected.
> 
> so I've setted up /etc/default/dhcp with
> INTERFACES="eth0.1"
> 
> and you'll find the complete DHCP config file at the end of the mail.
> 
> the server's log syslog and messages doesn't show DHCP request
> the file was working so I assume it's something about my last vlan changes
> I've restarted the server's dhcp after the changes and no warning has appeared
> 
> someone has suggestions?
> Thanks,
> Enrico
> 
> 
> route -n
> ---------------
> Kernel IP routing table
> Destination     Gateway         Genmask         Flags Metric Ref    Use Iface
> 192.168.57.0    0.0.0.0         255.255.255.0   U     0      0        0 eth0.1
> 0.0.0.0         192.168.57.252  0.0.0.0         UG    0      0        0 eth0.1
> 
> 
> dhcpd.conf
> ----------------
> default-lease-time           21600;
> max-lease-time               21600;
> 
> option subnet-mask           255.255.255.0;
> option broadcast-address     192.168.57.255;
> option routers               192.168.57.150;
> option domain-name-servers   192.168.57.150;
> option domain-name           "ltsp";          # <--Fix this domain name
> 
> option root-path             "192.168.57.150:/opt/ltsp/i386";
> 
> 
> subnet 192.168.57.0 netmask 255.255.255.0 {
>     use-host-decl-names      on;
>     option log-servers       192.168.57.150;
> 
> 
>     host ws001 {
>         hardware ethernet    00:0a:5e:55:5e:33; #00:04:75:99:fb:61;
>         fixed-address        192.168.57.151;
>         filename             "/tftpboot/lts/2.4.26-ltsp-2/pxelinux.0";
> #"/tftpboot/lts/vmlinuz-2.4.26-ltsp-2";
>     }
> 
>     host ws002 {
>         hardware ethernet    00:04:75:99:f8:c4;
>         fixed-address        192.168.57.152;
>         filename             "/tftpboot/lts/2.4.26-ltsp-2/pxelinux.0";
>     }
> 
>     host ws003 {
>         hardware ethernet    00:04:75:99:fb:27;
>         fixed-address        192.168.57.153;
>         filename             "/tftpboot/lts/2.4.26-ltsp-2/pxelinux.0";
>     }
> 
>     host ws004 {
>           hardware ethernet    00:04:75:99:fb:0b;
>         fixed-address        192.168.57.154;
>         filename             "/tftpboot/lts/2.4.26-ltsp-2/pxelinux.0";
>     }
> 
>     host ws005 {
>            hardware ethernet    00:01:02:b6:af:45;
>         fixed-address        192.168.57.155;
>         filename             "/tftpboot/lts/2.4.26-ltsp-2/pxelinux.0";
>     }
> 
>     host ws006 {
>         hardware ethernet    00:04:75:99:f8:46;
>         fixed-address        192.168.57.156;
>         filename             "/tftpboot/lts/2.4.26-ltsp-2/pxelinux.0";
>     }
> 
>     host ws007 {
>             hardware ethernet    00:04:75:99:fa:d7;
>         fixed-address        192.168.57.157;
>         filename             "/tftpboot/lts/2.4.26-ltsp-2/pxelinux.0";
>     }
> 
>     host ws008 {
>             hardware ethernet    00:04:75:99:f8:df;
>         fixed-address        192.168.57.158;
>         filename             "/tftpboot/lts/2.4.26-ltsp-2/pxelinux.0";
>     }
> 
>     host ws009 {
>             hardware ethernet    00:04:75:99:fa:41;
>         fixed-address        192.168.57.159;
>         filename             "/tftpboot/lts/2.4.26-ltsp-2/pxelinux.0";
>     }
> 
>     host ws010 {
>             hardware ethernet    00:04:75:99:fa:30;
>         fixed-address        192.168.57.160;
>         filename             "/tftpboot/lts/2.4.26-ltsp-2/pxelinux.0";
>     }
> 
> }
> 
> 
> -------------------------------------------------------
> SF.Net email is sponsored by:
> Tame your development challenges with Apache's Geronimo App Server. Download
> it for free - -and be entered to win a 42" plasma tv or your very own
> Sony(tm)PSP.  Click here to play: http://sourceforge.net/geronimo.php
> _____________________________________________________________________
> Ltsp-discuss mailing list.   To un-subscribe, or change prefs, goto:
>       https://lists.sourceforge.net/lists/listinfo/ltsp-discuss
> For additional LTSP help,   try #ltsp channel on irc.freenode.net
>


-------------------------------------------------------
SF.Net email is sponsored by:
Tame your development challenges with Apache's Geronimo App Server. Download
it for free - -and be entered to win a 42" plasma tv or your very own
Sony(tm)PSP.  Click here to play: http://sourceforge.net/geronimo.php
_____________________________________________________________________
Ltsp-discuss mailing list.   To un-subscribe, or change prefs, goto:
      https://lists.sourceforge.net/lists/listinfo/ltsp-discuss
For additional LTSP help,   try #ltsp channel on irc.freenode.net

Reply via email to