Re: 2 ether, problems routing
Nils,
> It is not the computer that needs an IP address, every single network
> interface on the computer will need a unique IP address (except if you have
> point-to-point interfaces, but that doesn't apply in your situation)
First question: can I make an eth behave as a point-to-point if
there are only two eth cards in the network?
> Example: Assume Adresses 147.83.61.192-207 are still free (the start IP must
> be divisible by 16)
> ifconfig eth1 147.83.61.193 netmask 255.255.255.240 broadcast 147.83.61.207
> route add -net 147.83.61.192 dev eth1
> arp -s 147.83.61.192 '00:A0:24:52:32:41' netmask 255.255.255.240 pub
> # Note that this is the hardware address of your first network card,
> # providing eth0
Not working. I can access eth0 (.17) from the w95 machine but
I can not access any other part of the eth0 network.
If I have understood correctly subnetting with the netmask of 240
divides the network into 16 subnets... as my primary net has a netmask of
255.255.255.0 then the machine addresses are 0.0.0.* which is incompatible
with puting a netmask of .240 on the eth1.
Maybe arp -s fixs it, but as I have these things very fresh, I
don't know.
I guess my best bet is to make the eht1 behave as p-t-p link. I've
seen an option for that in ifconfig, but I couldn't get it working.
Thanks for your help.
Salutacions, Pere ---- __o Ultima Ratio Regum
2:343/108.91 ----- _`\<;_ mailto:pere@casal.upc.es
PGP key available --- (_)/ (_) http://casal.upc.es/~pere/
Reply to: