Fernando Rowies wrote:
>
> When I install redhat 6.1 I supply a wrong ip number
> for the gateway in the net configuration. How can I
> manually modify the affected config files?
>
> TIA
> Fernando Rowies
>
> _______________________________________________
> Redhat-list mailing list
> [EMAIL PROTECTED]
> https://listman.redhat.com/mailman/listinfo/redhat-list
To remove the wrong gateway:
/sbin/route del default gw wrong.ip.address.here eth0
To add the correct gateway:
/sbin/route add default gw correct.ip.address.here eth0
Then do 'netstat -rn', and you should see the correct gateway in your
routing table. Good luck,
Hidong
_______________________________________________
Redhat-list mailing list
[EMAIL PROTECTED]
https://listman.redhat.com/mailman/listinfo/redhat-list