Hi, had this same error using FreeBSD. this is how i solved the problem.
1. deleted my default gateway 2. route add -host <isp_assigned_gw> -netmask <gw_subnet_mask> -interface <int_name> 3. route add default <my_isp_assigned_gw> i guess you can also do this with linux something like: route add -net <your_network> <your_netmask> dev eth0 Thanks, Jett Tayer ------ "In a World Without Fences, Who Needs Gates?" Carlos said: > > k thanks, so i guess i have ti call my isp to setup a gateway within my > netblock, eh? > "Jopoy C. Solano" <[EMAIL PROTECTED]> wrote:Your gateway should be > always on the same block otherwise you'll get the > error. logically ... paano ka lalabas kung walang pintuan yung bahay nyo > :) > > your "bahay" is your ip block/subnet. > > > as for windows, it really lacks in error checking. > > HTH. > > 'jopoy > > > Carlos said: >> >> hi, i have a problem setting up the gateway in slackware 8.1. all the >> computers in my office has valid ip addresses, we were assigned one >> netblock, from x.x.x.66 x.x.x.126 netmask is 255.255.255.192. the >> gateway ip is x.x.x.46 netmask 255.255.255.192. >> >> in windows setting it up had no problems. but in slackware 8.1 it >> doesnt seem to work, i've used netconfig, and tried editing the >> /etc/rc.d/rc.inet1 file manually...still nothing!! i've tried doing >> #/sbin/route add default x.x.x.46, and it returns "SIOCADDRT: Network >> is unreachable". dont know what to do, please help me. >> >> does it matter if the gateway belongs to another netblock? if so, how >> come windows accepts it as its gateway? i really tried everything i >> can. >> >> >> >> carlos >> >> >> >> >> --------------------------------- >> Do you Yahoo!? >> Yahoo! Tax Center - forms, calculators, tips, and more > > > > ----------------------- > University of Baguio > General Luna Road > Baguio City > Philippines 2600 > Phone: +63 74 4423540 > Fax: +63 74 4423071 > http://www.ubaguio.edu > > > _ > Philippine Linux Users Group. Web site and archives at > http://plug.linux.org.ph To leave: send "unsubscribe" in the body to > [EMAIL PROTECTED] > > Fully Searchable Archives With Friendly Web Interface at > http://marc.free.net.ph > > To subscribe to the Linux Newbies' List: send "subscribe" in the body to > [EMAIL PROTECTED] > > > --------------------------------- > Do you Yahoo!? > Yahoo! Tax Center - forms, calculators, tips, and more _ Philippine Linux Users Group. Web site and archives at http://plug.linux.org.ph To leave: send "unsubscribe" in the body to [EMAIL PROTECTED] Fully Searchable Archives With Friendly Web Interface at http://marc.free.net.ph To subscribe to the Linux Newbies' List: send "subscribe" in the body to [EMAIL PROTECTED]
