andycrofts
11-22-2003, 03:57 AM
HI.
(Sorry if the title's not too descriptive)
I have a networking question/problem I'll try to describe as best I can.
Currently I have a gateway/firewall/dhcp server between the Internet and the other machines on my home network. (Home network is via a cheap $30 hub).
Eth0 is set by pppoe to point to my ISP, and eth1 is given a fixed IP address (192.168.0.1/255.255.255.0/B'cast 192.168.0.255)
So far, all works. Connect any machine to the home network and they get an IP - even my Windows office laptop can connec to corporate HQ via VPN.
Now, the above gateway/firewall/dhcp/webserver is rather underpowered for the task. It's been working beautifully for about a year.
Now, I'm swapping it for a more 'meaty' machine.
I'm trying to set the second machine up as identically as I can to the first. Thus, all my previously-written notes will be current.
This second machine also has two ethernet cards. one set by dhcp, and the other has a fixed IP of 192.168.0.2/255.255.255.0/B'cast 192.168.0.255.
Installed the minimum I need from RH9 - identical to the first machine, according to my notes.
Note, no GUI. Unfortunately I need the space. It's the hard way - CLI + Webmin.
Now, while setting the second machine up, connected to the home network via dhcp interface, (works fine) all appears well. I can ping www.yahoo.com, downloaded webmin via lynx , etc.
However, I haven't the space to have two computers/monitors. This second machine is to be eventually controlled by another machine via ssh.
However, it doesn't work...
From the second (new) machine, I can ping the outside world, yet I can't ping the server on 192.168.0.1
unless after much experimentation I found that if I turn off the (unconnected) fixed-ip interface...(192.168.0.2, remember?) using "ifdown eth1" it (the dhcp interface) works even though it's not connected to anything
Same from the server. I can't ping/connect to the second on either of the second computers interfaces.
Why??
If I change the new machine's net and subnet to 10.0.0.1 from 192..., all is well again. Except I can't ping - "No route to host"
Once I swap machines, I'm sure this won't be a problem. But I need to get the 'new' machine as close as possible to the first, for a fast changeover. She-who-must-be-obeyed wants the kitchen table back (alright, the kitchen. Small apartment here. Like, about as big as an American garage :D).
What have I misunderstood? I'm sure it's not HW/SW, more a "PEBKAC" problem (i.e., me!)
Running RH9 - second machine identical except "apt-get upgrade"d to Fedora
-Obliged for any help. This is about the last thing stopping me getting my php/mysql-driven dynamic super www.oululife.com money-spinner (ha, ha) working.
-Andy
*PEBCAK - Problem Exists Between Chair And Keyboard.
(Sorry if the title's not too descriptive)
I have a networking question/problem I'll try to describe as best I can.
Currently I have a gateway/firewall/dhcp server between the Internet and the other machines on my home network. (Home network is via a cheap $30 hub).
Eth0 is set by pppoe to point to my ISP, and eth1 is given a fixed IP address (192.168.0.1/255.255.255.0/B'cast 192.168.0.255)
So far, all works. Connect any machine to the home network and they get an IP - even my Windows office laptop can connec to corporate HQ via VPN.
Now, the above gateway/firewall/dhcp/webserver is rather underpowered for the task. It's been working beautifully for about a year.
Now, I'm swapping it for a more 'meaty' machine.
I'm trying to set the second machine up as identically as I can to the first. Thus, all my previously-written notes will be current.
This second machine also has two ethernet cards. one set by dhcp, and the other has a fixed IP of 192.168.0.2/255.255.255.0/B'cast 192.168.0.255.
Installed the minimum I need from RH9 - identical to the first machine, according to my notes.
Note, no GUI. Unfortunately I need the space. It's the hard way - CLI + Webmin.
Now, while setting the second machine up, connected to the home network via dhcp interface, (works fine) all appears well. I can ping www.yahoo.com, downloaded webmin via lynx , etc.
However, I haven't the space to have two computers/monitors. This second machine is to be eventually controlled by another machine via ssh.
However, it doesn't work...
From the second (new) machine, I can ping the outside world, yet I can't ping the server on 192.168.0.1
unless after much experimentation I found that if I turn off the (unconnected) fixed-ip interface...(192.168.0.2, remember?) using "ifdown eth1" it (the dhcp interface) works even though it's not connected to anything
Same from the server. I can't ping/connect to the second on either of the second computers interfaces.
Why??
If I change the new machine's net and subnet to 10.0.0.1 from 192..., all is well again. Except I can't ping - "No route to host"
Once I swap machines, I'm sure this won't be a problem. But I need to get the 'new' machine as close as possible to the first, for a fast changeover. She-who-must-be-obeyed wants the kitchen table back (alright, the kitchen. Small apartment here. Like, about as big as an American garage :D).
What have I misunderstood? I'm sure it's not HW/SW, more a "PEBKAC" problem (i.e., me!)
Running RH9 - second machine identical except "apt-get upgrade"d to Fedora
-Obliged for any help. This is about the last thing stopping me getting my php/mysql-driven dynamic super www.oululife.com money-spinner (ha, ha) working.
-Andy
*PEBCAK - Problem Exists Between Chair And Keyboard.