Re: [Server-devel] DNS/dhcp question
On Wed, Sep 30, 2009 at 12:49 AM, Gerald Ardito gerald.ard...@gmail.com wrote: How about this: 1. eth0 is plugged into our school network/internet 2. eth1 is connected via ethernet cable to an access point. Yes. This is what I would recommend to keep things simple... and your sanity now and later when the XS is upgraded! With this plan the XS controls the network of the eth1-AP-XOs, and this is the natural thing for the XS. cheers, m -- martin.langh...@gmail.com mar...@laptop.org -- School Server Architect - ask interesting questions - don't get distracted with shiny stuff - working code first - http://wiki.laptop.org/go/User:Martinlanghoff ___ Server-devel mailing list Server-devel@lists.laptop.org http://lists.laptop.org/listinfo/server-devel
Re: [Server-devel] DNS/dhcp question
On Tue, 2009-09-29 at 18:49 -0400, Gerald Ardito wrote: Jerry, I am still having problems. I thought I would try to simplify the network to see if that would make a difference. How about this: 1. eth0 is plugged into our school network/internet 2. eth1 is connected via ethernet cable to an access point. Would this work? That is the default layout. If so, how should eth1 be configured? As long as the access point is in bridging mode there should be no issues, and nothing needs to be changed with eth1. Are you able to re-configure the AP if needed? If so, what ip address does the AP use for management? I only know what you tell me about your network layout, with your XS setup like that, what are the results of ip route ls? I'll assume that eth0 has a static ip address. Just to get a feel of what your layout looks like in my head. Jerry ___ Server-devel mailing list Server-devel@lists.laptop.org http://lists.laptop.org/listinfo/server-devel
Re: [Server-devel] DNS/dhcp question
Jerry, I am not trying to be vague about anything. I would love to give you a sense of what is happening. I want to apologize ahead for not being clear. Not all of this makes perfect sense to me. Current situation: My XS box has 2 NICS Eth0 connects to the school internet and has a static IP address (10.125.105.153; subnet 255.255.248.0) Eth1 connects to a VLAN set up for the XOs. The Access Points for the VLAN point toward the XS box as the DHCP server (so I'm told). I was given that IP address by my tech guy. Here are the parameters: -IP range is 10.125.140.0 -Give the SchoolServer an IP address of 10.125.140.31, -set up DHCP for a range of 10.125.140.100 - 254. -Subnet mask should be 255.255.248.0 Ongoing questions: 1. I have been working under the assumption that eth1 should have the Schoolserver address above (10.124.140.31). Is that correct? 2. What do I need to do (if anything) to configure the DHCP functions of the XS? 3. Is there anything else you need to help with this. Thanks. Gerald On Tue, Sep 29, 2009 at 10:21 PM, Jerry Vonau jvo...@shaw.ca wrote: On Tue, 2009-09-29 at 18:49 -0400, Gerald Ardito wrote: Jerry, I am still having problems. I thought I would try to simplify the network to see if that would make a difference. How about this: 1. eth0 is plugged into our school network/internet 2. eth1 is connected via ethernet cable to an access point. Would this work? That is the default layout. If so, how should eth1 be configured? As long as the access point is in bridging mode there should be no issues, and nothing needs to be changed with eth1. Are you able to re-configure the AP if needed? If so, what ip address does the AP use for management? I only know what you tell me about your network layout, with your XS setup like that, what are the results of ip route ls? I'll assume that eth0 has a static ip address. Just to get a feel of what your layout looks like in my head. Jerry ___ Server-devel mailing list Server-devel@lists.laptop.org http://lists.laptop.org/listinfo/server-devel
Re: [Server-devel] DNS/dhcp question
On Sat, 2009-09-26 at 08:13 -0500, Jerry Vonau wrote: Gerald: On Sat, 2009-09-26 at 08:24 -0400, Gerald Ardito wrote: Reuben (and others), I will try to ask my questions in the most basic way I can think of. My XS box has two NICs eth0 and eth1. Eth0 connects to an internet connection, and works just fine (I can ping yahoo.com, for example). Eth1 is supposed to connect to the VLAN which has the Access Points. I was told by my tech guy to use the following settings: IP range is 10.125.140.0 Give the SchoolServer an IP address of 10.125.140.31, set up DHCP for a range of 10.125.140.100 - 254. Subnet mask should be 255.255.248.0 OK, lets see if I have the layout correct. Your adding this XS server to a pre-existing network, running on 10.125.140.0, that already has A/P in place? Is there another dhcp server involved with this network? Jerry ___ Server-devel mailing list Server-devel@lists.laptop.org http://lists.laptop.org/listinfo/server-devel
Re: [Server-devel] DNS/dhcp question
Gerald: On Sat, 2009-09-26 at 08:24 -0400, Gerald Ardito wrote: Reuben (and others), I will try to ask my questions in the most basic way I can think of. My XS box has two NICs eth0 and eth1. Eth0 connects to an internet connection, and works just fine (I can ping yahoo.com, for example). Eth1 is supposed to connect to the VLAN which has the Access Points. I was told by my tech guy to use the following settings: IP range is 10.125.140.0 Give the SchoolServer an IP address of 10.125.140.31, set up DHCP for a range of 10.125.140.100 - 254. Subnet mask should be 255.255.248.0 Don't think you want to mess with the XS's eth1 setup, that is pre-configured to use a different network, if you have dhcpd running on the schoolserver (check with service dhcpd status) the clients should be able to ping the schoolserver without the internet. Please tell me how to set this up. Before I comment, what is the output of ip route ls and arp -n while connected to the internet? Thanks. Once again, I am trying to deploy 150 machines and this is important. Those 150 machines should be able to ping the schoolserver, at least by ip address. Do the client machines even get an ip address to use? If so what is it? Can any of the client machines ping the schoolserver @ 172.18.0.1 or 172.18.96.1? Gerald Jerry ___ Server-devel mailing list Server-devel@lists.laptop.org http://lists.laptop.org/listinfo/server-devel
Re: [Server-devel] DNS/dhcp question
On Sat, 2009-09-26 at 13:21 -0400, Gerald Ardito wrote: Jerry, Yes, we are adding the XS server to an existing network. Our tech people created a VLAN for the XOs, points to 10.125.140.31 as the DHCP server. So, computers coming into the network from these APs have no other DHCP servers. That sounds like the APs are acting as dhcp relays (as a router not a bridge)... These APs are also used with the existing network? This is really outside of what Martin had in mind... I have been assuming that I therefore have to set eth1, which is connected to that VLAN, to that IP address. Is that correct? If the AP are acting as dhcp-relays, yes. The AP are directing the dhcp requests to 10.125.140.31, a bridge would just forward the traffic, and not direct it. The default layout doesn't provide for VLANs, but adding an ip alias to eth1 should be no problem. create an /etc/sysconfig/network-scripts/ifcfg-lanbond0:3 containing: DEVICE=lanbond0:3 ONBOOT=yes IPADDR=10.125.140.31 NETMASK=255.255.248.0 BOOTPROTO=static IPV6INIT=no restart the network, you should see the alias with ifconfig.. That should get the XS on the same lan as the AP's... then dhcp might work for you. We also have another LAN which has its own DHCP server. I can have the XOs connect to our regular wireless network, and they get IP addresses and connect to the internet. I have trouble having more than about 20 at a time connect to our regular network, plus I want the benefits of the XS server. That can be a problem, how is eth0 set? by dhcp from the regular network? Is the ip address in the 10.125.140.0 netblock? What gateway is the XS using? What is the output of ip route ls? Do both eth0 and eth1 plug into the same switch? Does this help? Thanks. Gerald some, Jerry ___ Server-devel mailing list Server-devel@lists.laptop.org http://lists.laptop.org/listinfo/server-devel
Re: [Server-devel] DNS/dhcp question
Jerry, I will try out what you suggested when I get back to school on Monday. I'll let you know what happens. Thanks. Gerald On Sat, Sep 26, 2009 at 2:08 PM, Jerry Vonau jvo...@shaw.ca wrote: On Sat, 2009-09-26 at 13:21 -0400, Gerald Ardito wrote: Jerry, Yes, we are adding the XS server to an existing network. Our tech people created a VLAN for the XOs, points to 10.125.140.31 as the DHCP server. So, computers coming into the network from these APs have no other DHCP servers. That sounds like the APs are acting as dhcp relays (as a router not a bridge)... These APs are also used with the existing network? This is really outside of what Martin had in mind... I have been assuming that I therefore have to set eth1, which is connected to that VLAN, to that IP address. Is that correct? If the AP are acting as dhcp-relays, yes. The AP are directing the dhcp requests to 10.125.140.31, a bridge would just forward the traffic, and not direct it. The default layout doesn't provide for VLANs, but adding an ip alias to eth1 should be no problem. create an /etc/sysconfig/network-scripts/ifcfg-lanbond0:3 containing: DEVICE=lanbond0:3 ONBOOT=yes IPADDR=10.125.140.31 NETMASK=255.255.248.0 BOOTPROTO=static IPV6INIT=no restart the network, you should see the alias with ifconfig.. That should get the XS on the same lan as the AP's... then dhcp might work for you. We also have another LAN which has its own DHCP server. I can have the XOs connect to our regular wireless network, and they get IP addresses and connect to the internet. I have trouble having more than about 20 at a time connect to our regular network, plus I want the benefits of the XS server. That can be a problem, how is eth0 set? by dhcp from the regular network? Is the ip address in the 10.125.140.0 netblock? What gateway is the XS using? What is the output of ip route ls? Do both eth0 and eth1 plug into the same switch? Does this help? Thanks. Gerald some, Jerry ___ Server-devel mailing list Server-devel@lists.laptop.org http://lists.laptop.org/listinfo/server-devel
Re: [Server-devel] DNS/dhcp question
Jerry, I'll get the info on Monday and send it to you before I do anything else. Thanks. Gerald On Sat, Sep 26, 2009 at 2:53 PM, Jerry Vonau jvo...@shaw.ca wrote: On Sat, 2009-09-26 at 14:40 -0400, Gerald Ardito wrote: Jerry, I will try out what you suggested when I get back to school on Monday. I'll let you know what happens. Before you change anything please answer the questions below, I don't want to lead you on a wild goose chase... That can be a problem, how is eth0 set? by dhcp from the regular network? Is the ip address in the 10.125.140.0 netblock? What gateway is the XS using? What is the output of ip route ls? Do both eth0 and eth1 plug into the same switch? If your gateway is within 10.125.140.0/23, you will have to make some additional ip/routing changes in order to get to the internet from the XS box... Need that eth0 info.. You have been warned... Jerry ___ Server-devel mailing list Server-devel@lists.laptop.org http://lists.laptop.org/listinfo/server-devel
Re: [Server-devel] DNS/dhcp question
Martin, I am hoping to hear back from you about this soon. This is on the path to our deployment in the next couple of weeks. Thanks. Gerald On Fri, Sep 18, 2009 at 6:44 PM, Gerald Ardito gerald.ard...@gmail.comwrote: Martin, Thanks. I am using version 0.6d5. And I followed the standard installation procedures. Our tech guy set up a VLAN which includes the APs, which point to the XS (my box) as the DHCP server. I didn't get to try the ping command you suggested. I will do so on Monday. Is there anything else I can do? Thanks. Gerald On Fri, Sep 18, 2009 at 4:23 AM, Martin Langhoff martin.langh...@gmail.com wrote: On Fri, Sep 18, 2009 at 2:55 AM, Gerald Ardito gerald.ard...@gmail.com wrote: I have the XS server up and running on a Dell. Good! - What version of the XS? - Did you follow the standard installation procedures? - What happens if you do ...? ping -c1 `hostname -f` Eth0 is connected to the internet. good Eth1 is connected to the AP for the XOs. Or, more accurate, the AP for the XOs points to eth1. (I hope this is correct). The AP has to be running as an AP, _not_ as a router (so it does not need to point anywhere). Just connect the AP to eth1 I have two problems: 1) When I connected to the AP from the XOs, no IP address is generated. Probably the AP is trying to act as a router instead of as an AP. Make sure you disable all routing features. 2) We are going to use a hosted XS off site, and I want to configure my box (which is the dhcp server) to point to it. What is my box? The XS _must_ be the local dhcp server. The XS must be local, not remote. There must be no box between the XS and the XOs. cheers, m -- martin.langh...@gmail.com mar...@laptop.org -- School Server Architect - ask interesting questions - don't get distracted with shiny stuff - working code first - http://wiki.laptop.org/go/User:Martinlanghoff ___ Server-devel mailing list Server-devel@lists.laptop.org http://lists.laptop.org/listinfo/server-devel
Re: [Server-devel] DNS/dhcp question
Martin, Thanks. I am using version 0.6d5. And I followed the standard installation procedures. Our tech guy set up a VLAN which includes the APs, which point to the XS (my box) as the DHCP server. I didn't get to try the ping command you suggested. I will do so on Monday. Is there anything else I can do? Thanks. Gerald On Fri, Sep 18, 2009 at 4:23 AM, Martin Langhoff martin.langh...@gmail.comwrote: On Fri, Sep 18, 2009 at 2:55 AM, Gerald Ardito gerald.ard...@gmail.com wrote: I have the XS server up and running on a Dell. Good! - What version of the XS? - Did you follow the standard installation procedures? - What happens if you do ...? ping -c1 `hostname -f` Eth0 is connected to the internet. good Eth1 is connected to the AP for the XOs. Or, more accurate, the AP for the XOs points to eth1. (I hope this is correct). The AP has to be running as an AP, _not_ as a router (so it does not need to point anywhere). Just connect the AP to eth1 I have two problems: 1) When I connected to the AP from the XOs, no IP address is generated. Probably the AP is trying to act as a router instead of as an AP. Make sure you disable all routing features. 2) We are going to use a hosted XS off site, and I want to configure my box (which is the dhcp server) to point to it. What is my box? The XS _must_ be the local dhcp server. The XS must be local, not remote. There must be no box between the XS and the XOs. cheers, m -- martin.langh...@gmail.com mar...@laptop.org -- School Server Architect - ask interesting questions - don't get distracted with shiny stuff - working code first - http://wiki.laptop.org/go/User:Martinlanghoff ___ Server-devel mailing list Server-devel@lists.laptop.org http://lists.laptop.org/listinfo/server-devel
[Server-devel] DNS/dhcp question
Hello. I have the XS server up and running on a Dell. Per specs, I believe, I have two NICs, which I can see as eth0 and eth1. Eth0 is connected to the internet. Eth1 is connected to the AP for the XOs. Or, more accurate, the AP for the XOs points to eth1. (I hope this is correct). I have two problems: 1) When I connected to the AP from the XOs, no IP address is generated. 2) We are going to use a hosted XS off site, and I want to configure my box (which is the dhcp server) to point to it. Thanks for the help. Gerald ___ Server-devel mailing list Server-devel@lists.laptop.org http://lists.laptop.org/listinfo/server-devel