Code: Select all
immediate gateway: 192.168.100.100%ether1
Code: Select all
Immediate gateway:unknown
I am on ros v7.2.3
immediate gateway: 192.168.100.100%ether1
Immediate gateway:unknown
/ip route
add dst-address=192.168.200.0/24 gateway=192.168.100.100
Yes, but still not working.Those is a cli command...
ip add add address=[static ip] network=[gateway] interface=ether1
ip route add gateway=[gateway]
192.168.100.0
192.168.100.100
In short, no, it's exactly same in v7 as was in v6. There must be something else. For example, if DHCP client works, it adds not only route, but also address with proper mask, which is needed for gateway to be reachable. Did you add that in your manual config?
I guess I figured it out. The network on ip address should be the same as gateway.On ros v6, the network on ip addresses will be set toCode: Select allip add add address=[static ip] network=[gateway] interface=ether1 ip route add gateway=[gateway]
but on ros v7 the network on ip addresses should be the gatewayCode: Select all192.168.100.0
Code: Select all192.168.100.100
/ip address
add address=<static ip>/<correct mask> interface=ether1
Yes, I included the mask /32 but still not reachable.Again, no. It's possible to have gateway address in "network" field of IP address. It's point to point addressing, but it's not used that much. And it's exactly the same in v6 and v7. Most common config is still:
Did you perhaps forget to include mask?Code: Select all/ip address add address=<static ip>/<correct mask> interface=ether1
Okay, my bad. Thank you for clarification. My mask is incorrect should be /16 in my caseAgain, no. It's possible to have gateway address in "network" field of IP address. It's point to point addressing, but it's not used that much. And it's exactly the same in v6 and v7. Most common config is still:
Did you perhaps forget to include mask?Code: Select all/ip address add address=<static ip>/<correct mask> interface=ether1