routing between interfaces
I am using NetBSD not linux here but I'm pretty sure my problem is in not understanding networking, so the OS should be irrelevant.
I have read the other threads on this, but they didn't help. Here is a diagram of the network: Code:
|| NetBSD is connected to OpenBSD through a USB-to-Ethernet adapter (ure0, ip 10.0.0.0) to OpenBSD's ethernet port (fxp0 10.0.0.2) OpenBSD can successfully ping 10.0.0.0 and 192.168.0.108, but fails to ping 192.168.0.1 and anything on the internet. (I have made OpenBSD's default gateway 10.0.0.0, "route add -inet default 10.0.0.0") I hope to be able to replace OpenBSD with a switch or other computer, so it shouldn't need anything more than a gateway configured, NetBSD should be doing all the work. I want NetBSD to be able to (route?, bridge?, forward?, proxy?)send traffic from ure0 to mue0. (I don't understand how OpenBSD can ``see'' mue0's IP of 192.168.0.108 but not mue0's gateway of 192.168.0.1) I have set Code:
net.inet.ip.forwarding=1 => /etc/sysctl.conf Firewalls are off on NetBSD and OpenBSD. I am not sure what the problem is, I don't know much about networking. |
You do realize that you are using the network address "10.0.0.0" on ure0. I'm not sure about the route add statement but you need to to change "10.0.0.0" on ure0 to a host address in the range of "10.0.0.1 - 10.0.0.254" barring the address "10.0.0.2".
|
Quote:
|
Quote:
|
All times are GMT -5. The time now is 09:30 AM. |