Actually several problems. Let me explain what we are trying to accomplish first:
We have a server that sits in two subnets, by having a network adapter plugged into each network. 192.168.10.x and 192.168.20.x are the subnets. The 20.x subnet in intended for external access (outside the office, our 'DMZ' of sorts), and 192.168.20.1 is the gateway to the outside world. If a user or app on the server tries to access yahoo.com, for example, it should be routed through the 20.x subnet. The 10.x subnet is internal only and traffic to outside sites should not be routed through here.
First problem is that I'm not a Linux Guru in this area.
Second problem is that with two physical adapters, OpenSUSE 10.2 seems only able to run one at a time.
Third problem, pending resolution of the Second, is actually getting OpenSUSE 10.2 to work the way we want it.
UPDATE: Here is the way we actually want this to work:
eth0 - (externally-facing adapter)
Static IP: 192.168.20.5
Default Gateway: 192.168.20.1
eth1 - (internally-facing adapter)
Static IP: 192.168.10.5
Default Gateway: should be null
Routing information:
Destination: 192.168.10.0
Gateway: 192.168.10.5
Netmask: 255.255.255.0
This works fine in CentOS. We are able to access the CentOS box using the internal IP address, and it is also exposed outside on the 20. The CentOS box can also access both internal and external resources via IP and domain name. That said I realize that given my limited knowledge of Linux this may not be the best approach.
We have been able to get CentOS 5.3 working (an altogether wonderful OS, by the way). However, the GUI in OpenSUSE is not only completely different, it's also more complicated and confusing.
ANY help would be appreciated!
You need to go into Yast and under Network Setup change the config so its not Network Manager. You'll want to switch it to the option that says (Traditional) next to it. I have to do this on all our SuSE boxes as they are dual homed.
You might want to see if you can use a version of openSUSE that is still supported. The other thing you could do is to use
ifconfig -a
to check the status of your network interfaces. You could also look in/etc/sysconfig/network
where SuSE stores in network configuration (at least, that's the way it is in 11.0).PROBLEM SOLVED. This was a misunderstanding to be certain, however unrelated to my routing configuration! The fact is, when I switched from DHCP to static IP addresses, apparently I also need to add at least a primary DNS in the hosts / domain area. I used the new public Google DNS (8.8.8.8) and now everything is working as it should.