define a gateway address

Hi, I want to ping another network segment. How I define a gateway address for the eth0? Thank you.

Reply to
Prital
Loading thread data ...

You need to add an entry to the routing table. Mostly you want to add the default route (0.0.0.0) to the gateway:

$ route add default gw x.x.x.x

Paul

Reply to
Paul Geerinckx

ElectronDepot website is not affiliated with any of the manufacturers or service providers discussed here. All logos and trade names are the property of their respective owners.