What's the theory with ipforwarding relative to what we're trying to implement in my situation >
it is the same thing as NAT (network address translation)--just another name for it
do you want a brief explanation of NAT?
Thanks. I just did the command to check the status and it came back with a '0' Tried using the command line they provide to set it to '1' on the fly but still showing a '0'
Yes, if you don't mind. I have a limited understanding of it but it may be inaccurate.
ok, your server has two nics, but only one of them is connected to the modem. That nic is the only one that can connect to the Internet
that nic has an external address if it is directly connected to the modem. Do you know its address?
it is a public "routable" address
Got it to set to a '1' !!!
anyway, the second nic is what is called the internal or inside nic. it has a private network address
I'm going to run downstairs and try my winbox. Do I need to do any kind of restart on the server or on my winbox to get it to recognize the change ?
no. see if a winbox can now ping a site on the internet, ping www.google.com
if this works, you should set up a firewall on the ubuntu box, so you can limit what traffic can come in.
there is an easier way to do all of this too.
No joy getting a web browser to google but will go try to ping it.
1. set up your cable router back on the network.
2. disable DHCP on the cable router
3. Set the private ip address on the cable router to be 192.168.0.254 (or whatever scheme you use)
I'm listening ...
No reply pinging google. ALSO no reply pinging 192.168.0.1 gateway address ...
I DID get reply pinging the server's IP 192.168.0.254
here is what i reccommend. Let your router do NAT for you and serve as the gateway for all devices
that is interesting. so, which device is 254
Including the Edubuntu thin-clients ?
254 is the IP of the server on the inside NIC, I think
at work, i have an edubuntu server doinng ltsp, with thin clients. my server hands out addresses, dns and gateway infomration, but does not do the NAT.
The nat is handled by a router.
I started down that path but then have to figure out how to reconfigure the server not to do DHCP and to tell the thin-clients to get their stuff off the router. from your last note I may not have had to do all that ?
So, the server hands out the address, and the dhcpd.conf file tells computers where the gateway and dns is obtained.
I'm confusing NAT with DHCP.
Is that the gateway and dns of my ISP ???
dhcp does 3 things. it gives your computer an address. tells it which dns server to use when lookingn up names, and tells it where to go to get out to the internet (gateway)
I didn't realize that
the gateway does the NAT --transfers the client's request to the internet
and brings a response back to the client. the client is hidden from the internet
I think I understand that now but didn't know the DHCP was doing all three things.
so, it sounds like your dhcp server is telling your clients that the gateway is 192.168.0.1, but the 2nd nic on your server, which is acting as the gateway device has an address of 192.168.0.254
A Haaa !
and it is telling them that the dns server is 192.168.0.1 too. So, they cannot look up addresses
The ifconfig command never mentions 'gateway' ... where do I see that on the server ?
can you open the network gui under the system/administration menu?
the server's gateway is the first nic. You need to look a the contents of /etc/dhcpd.conf
I think I see it now. It's called 'inet addr' and is set to 254 ...
that is the network address of the second nic
try cat /etc/dhcpd.conf | more this will display the config file for dhcp. hit the space bar to advance the screen
Unfortunately my wife was logged in when I sat down and her account does not have admin privileges so I can't get to that app of the menus
go to terminal window and use above command
Did that and it says no such command
I mean 'no such file or directory'
sudo cat /etc/dhcpd.conf | more
I really appreciate your help but I don't want to keep you up all night.
I have been in your shoes on this forum--just paying it forward
Still reports no file so I went into the /etc directory and can see the file sitting there. Did a cat command right inside the directory and still says no such file.
it might be dhcpd.config
No, you had it right. It's owned by root.
it's a permissions thing. type ls -la dhcpd*
Opps. meant to type that in the terminal window
are you open to letting your router do the nat /gateway services for you?
Yes, I started to go that route but just don't have the knowledge to make it happen.
i think it owuld be easier in this case, and probably more secure
I've actually had this whole thing working several different ways but none of them allowed me to have all my PCs and thin-clients on a single subnet.
we can do it if the router is doing the nat.
all pcs, thin clients, and server on same network 192.168.0.x
server has address of 192.168.0.254
router has address of 192.168.0.1
server tells clients that their gateway and dns is 192.168.0.1
router wan port plugged into modem
enable nat on router (probably already done)
wan side of router plugged into your switch
Boy I hope I can save this chat !!!
make sure router is NOT doing dhcp
Ctrl-A to highligh it all and drop it into gedit
your windnows boxes will get an address from ubuntu server, they will be told that the router is their gateway and dns server.
So where/how do I tell server to use the router for NAT ?
disable the 1st nic on the server. Set the address statically on the second nic. set it to 192.168.0.254 set the subnet to 255.255.255.0 set the gateway to 192.168.0.1
do this in system/administration/network
make sure the second nic is plugged into the switch
error above --make sure lan side of router is plugged into switch, not wan side.
On a personal note, I live in Rochester, NY. Worked for Kodak for 30 years but they have downsized so much they've almost disappeared. They've torn down 100 buildings over the last few years and they're imploding two more in the morning. That will be five they've blown up this year. Pretty impressive events so I'll be going to watch with my brother.
better get some sleep then. Sounds like a lot of history going up in dust.
I live in Grand Rapids, MN - about 125 south of canada
Can I eventually remove the one NIC from the server ?
With this setup, you need only one, since your have a router available. Ubuntu does not have a firewall built in, and you need one desparately if ubuntu is going to do the routing.
A lot of our colder winter days seem to come from your neck of the woods ;-)
but since your router will handle this, you do not need it on ubuntu.
Good. I understand.
good luck. draw a picture of what you want to configure. it will be a good resource for when want to change something.
i have a pretty good diagram of the two ways I've wired everything and it does help.
I hope this works out well. drop back here later this weekend if you still have trouble, and I will write up something more clearly with illustrations that you can download.
Regarding the wiring, cable modem to router, router to switch, server to switch, all PCs to switch ???
Thanks booghotfoot. I learned a lot tonight. You write very clearly.
this means that everything goes to the switch, and the switch to the router, and the router to the web. The router will keep track of who requested a file, and get it back to the correct host.
Gotta do a Cntl-A now !!!
good nite. glad to be of assitance.
I had it setup that way once but didn't know how to configure the server. Will try it again with your instructions.
if you are using Konversation for an irc client, you can open a log window, and save this session to a file
|00:59||booghotfoot has left #ltsp|
|01:10||spectra has quit IRC|
|01:42||cyberorg_ is now known as cyberorg|
|02:33||plamengr has joined #ltsp|
|02:47||sepski has joined #ltsp|
|03:47||Q-FUNK has joined #ltsp|
|04:24||fernando110 has quit IRC|
|04:32||Amaranth_ has joined #ltsp|
|04:32||Amaranth has quit IRC|
|04:32||Amaranth_ is now known as Amaranth|
|05:27||Q-FUNK has quit IRC|
|05:45||Tefad has left #ltsp|
|05:48||Q-FUNK has joined #ltsp|
|05:55||Avatara has joined #ltsp|
|06:36||fernando110 has joined #ltsp|
|06:37||fernando110 has quit IRC|
|06:54||Amaranth has quit IRC|
|06:55||bobby_C has joined #ltsp|
|07:00||Avatara has quit IRC|
|07:02||sepski has left #ltsp|
|07:02||Amaranth has joined #ltsp|
|07:30||fernando110 has joined #ltsp|
|07:37||cyberorg has quit IRC|
|07:40||spectra has joined #ltsp|
|07:43||elisboa has joined #ltsp|
|07:56||cliebow has quit IRC|
|07:58||Amaranth has quit IRC|
|08:05||ltspbot has joined #ltsp|
|08:28||ltspbot has joined #ltsp|
|08:42||vykarian has joined #ltsp|
|08:42||Q-FUNK has quit IRC|
|08:51||Q-FUNK has joined #ltsp|
|08:52||bobby_C has quit IRC|
|09:18||ltspbot has joined #ltsp|
|09:20||sbalneav has joined #ltsp|
|09:41||tux_440volt has joined #ltsp|
|10:16||topslakr is now known as Topslakr|
|10:20||kernelfreak has quit IRC|
|10:33||spectra has quit IRC|
|10:37||plamengr has left #ltsp|
|10:41||GiantPickle has joined #ltsp|
|10:43||spectra has joined #ltsp|
|10:47||tux_440volt has quit IRC|
|11:11||vykarian has quit IRC|
|11:26||cyberorg_ has joined #ltsp|
|11:26||cyberorg_ is now known as cyberorg|
|11:27||elisboa has quit IRC|
|11:27||elisboa has joined #ltsp|
|11:33||spectra has quit IRC|
|11:38||Amaranth has joined #ltsp|
|11:50||ogra has quit IRC|
|11:51||ogra has joined #ltsp|
|12:06||MagicStorm has joined #ltsp|
|12:30||a_kr_dor has joined #ltsp|
Hi, can somebody help me?
I need a zlilo rom for broadcom 5754 0x14e4:0x167a I can't find it at rom-o-matic
And i can't boot from my ltsp server
|12:45||chad has joined #ltsp|
|12:51||chad has left #ltsp|
|12:51||MagicStorm has quit IRC|
|12:51||chad has joined #ltsp|
|12:51||MagicStorm has joined #ltsp|
|12:52||chad has quit IRC|
|12:53||booghotfoot has joined #ltsp|
|12:55||muh2000 has quit IRC|
|12:57||booghotfoot has quit IRC|
|13:04||elisboa has quit IRC|
|13:08||Topslakr has quit IRC|
|13:10||topslakr has joined #ltsp|
|13:13||cyberorg is now known as cyberorg_|
|13:28||MagicStorm has left #ltsp|
|13:34||topslakr is now known as Topslakr|
|13:39||K_O-Gnom has joined #ltsp|
|14:00||bobby_C has joined #ltsp|
|14:31||a_kr_dor has quit IRC|
|14:34||zald has joined #ltsp|
|14:34||zald has quit IRC|
|14:55||ace_suares has quit IRC|
|14:55||ace_suares has joined #ltsp|
|15:44||cliebow has joined #ltsp|
|15:53||vagrantc has joined #ltsp|
|15:54||GodFather has joined #ltsp|
|16:52||Q-FUNK has quit IRC|
|17:07||bobby_C has quit IRC|
|17:35||K_O-Gnom has quit IRC|
|18:00||spectra has joined #ltsp|
|18:20||GodFather has quit IRC|
|18:52||ccherret3 has joined #ltsp|
|18:52||ccherret4 has joined #ltsp|
|18:52||ccherret5 has joined #ltsp|
|18:53||ccherrett has quit IRC|
|19:03||ccherret1 has quit IRC|
|19:03||ccherret2 has quit IRC|
|20:01||JayPerez1 has quit IRC|
|20:02||ace_suares has quit IRC|
|20:08||ace_suares has joined #ltsp|
|20:13||Amaranth has quit IRC|
|20:19||Amaranth has joined #ltsp|
|20:19||McDutchie has joined #ltsp|
|20:56||Amaranth_ has joined #ltsp|
|20:57||Amaranth_ has left #ltsp|
|21:13||muh2000 has joined #ltsp|
|21:14||booghotfoot has joined #ltsp|
|21:19||booghotfoot has quit IRC|
|21:20||booghotfoot has joined #ltsp|
|21:43||ace_suares has quit IRC|
|21:44||ace_suares has joined #ltsp|
|21:51||booghotfoot has quit IRC|
|22:00||ace_suares has quit IRC|
|22:02||ace_suares has joined #ltsp|
|22:14||joebaker has quit IRC|
|22:16||vagrantc has quit IRC|
|22:16||joebaker has joined #ltsp|
|22:29||ccherret4 has quit IRC|
|22:29||ccherret3 has quit IRC|
|22:29||ccherret5 has quit IRC|
|22:29||ccherrett has joined #ltsp|
|22:55||JayPerez1 has joined #ltsp|
|23:18||spectra has quit IRC|