Routing without NAT or DHCP?


#1

This seems like a simple configuration to me and I’m clearly missing something obvious here about VyOS… I’m new to it so any help would be appreciated.

My desire is to create a very simple configuration as a basic starting point. I have configured VyOS (1.1.7) as follows:

interfaces {
ethernet eth0 {
address 10.1.10.1/24
description Outside
… (rest is default)
}
ethernet eth1 {
address 192.168.1.1/24
description Inside
… (rest is default)
}
}

I have NOT configured NAT or DHCP on this vyos instance and all other configuration settings are ‘stock’ defaults…

I put a host on the 192.168.1.0/24 network (assigned it ip address 192.168.1.10 manually).
This host IS ABLE to ping:
- 192.168.1.1 (it’s default gateway, the eth1 interface on the vyos)
- 10.1.10.1 (The eth0 interface on the vyso)

But NOT able to ping any other hosts on the 10.1.10.0/24 network (although these are quite pingable (is that a word?) from the vyos console itself).

So it would seem that VyOS doesn’t forward/route by default… is it possible to enable ip forwarding in this configuration?

Now, additional testing shows me that if I configure NAT on eth1, that resolves the pinging problem (but I don’t want NAT!).

I’m rather confused here, can anyone help clear this up? I find it odd that I"m not able to find any references to this - but whatever references I do find all say “configure NAT”… well… if I don’t want NAT what can I do here? Clearly it SHOULD be possible to have the VyOS route between the two locally connected networks on eth0 and eth1 shouldn’t it?

Output from show ip route is as I would expect here:

C>* 10.1.10.0/24 is directly connected, eth0
C>* 127.0.0.0/8 is directly connected, lo
C>* 192.168.1.0/24 is directly connected, eth1

Thanks in advance!


#2

Does the hosts in 10.1.10.0/24 (outside) net have 10.1.10.1 as their default gateway? Or have a route to 10.1.10.1 for the net 192.168.1.1/24?