I'm not sure I agree with @bab1, I believe you can use alias interfaces for multiple subnets on same interface.
You definitely don't want to have multiple gateways though. Multiple gateways are a whole different animal, which I have yet to tackle.
I believe I've used virtual interfaces much like shown in the legacy model
here.
@soamz, please don't use screenshots to paste text results. Use the
tags to wrap pasted text.
You should be able to use virtual interfaces or have multiple ipAddreses/netmask configured inside one interface, which is also show in above link.
The ping results shown on your earlier screen shot show pings to three hosts on same subnet, with two out of three not responding. This seems as it could
easily be a remote host issue, firewall issue, or other. Since one host in the same subnet does respond, it seems your config is working.
To update please post the following:
Code:
cat /etc/network/interfaces
In my experience "weird" or unexpected/unpredictable networking results was almost always related to some firewall rule or typo in network config.
Please also take the time to explain your environment/topology, hosts, switch(s), router, firewalls, etc. A
network diagram may be helpful.
Bookmarks