Tek-Tips is the largest IT community on the Internet today!

Members share and learn making Tek-Tips Forums the best source of peer-reviewed technical information on the Internet!

  • Congratulations derfloh on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

how setup correctley the gateway in the eth1:0 alias

Status
Not open for further replies.

tadan

Programmer
Apr 19, 2004
39
IT
Hi all.
I've a problem to configure correctley the gateway in the eth1:0 alias.
There's my config:

eth1 ip:192.168.0.10 sub:255.255.255.0
eth1:0 ip:192.168.0.20 sub:255.255.255.0

with the route add command, I insert the gateway for the eth1 and eth1:0, like this:

route add -host 192.168.0.10 gw 192.168.0.100 eth1
route add -host 192.168.0.10 gw 192.168.0.200 eth1:0


If I try to ping the 192.168.0.20 from 192.168.0.200 I don't have any respose.
If I try to ping the 192.168.0.10 from both gate I receive 100% response.

I would like to make that the ip1 is gated by .100 and the ip2 is gated by .200

Is possible this? I'm sure I've make some errors but I don't understand .. :(

Many Thanks and sorry 4 my english :)


Francesco



Francesco Cabigliera "Tadan"
----------------------------
Italiano Amateur Radio Station
----------- IW3IDS ---------
On Echolink - APRS Active
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top