* Jon Haugsand >> I'm putting in the command ifconfig eth0:0 x.x.x.x netmask 255.255.255.224 >> >> and route add -host x.x.x.x dev eth0:0 >> >> However, when I do a route -n command, the genmask is set to 255.255.255.255 >> instead of 255.255.255.224 >> >> when I do an ifconfig the mask is correct. >> >> Can anyone tell me what I need to do to correct this ? > > Have you tried: > > route add -host x.x.x.x netmask 255.255.255.224 dev eth0:0
By the way, is this correct anyway? When using the ifconfig, you are telling the communication system that you have a device and what ip adress it is going to have. With route you are telling what to do with packets that are bound for the adress x.x.x.x, which incidently are the current computer, so why do you want to send those packed out on the ethernet? -- Jon Haugsand, [EMAIL PROTECTED] http://www.norges-bank.no -- redhat-list mailing list unsubscribe mailto:[EMAIL PROTECTED] https://www.redhat.com/mailman/listinfo/redhat-list