Skip to contentSkip to conversation

How to reset routing completely?

DISCUSSION Kārlis Repsons 3 participants 3 messages Feb 3, 2009

lore
Share & tools
lore
#0 lore raw

While experimenting, I managed to reach a state, where I could not make my network functional again, even if I deleted all rules and routes with ip and did reset firewall.

#1 lore raw

There is nothing like initial state. All needs to be initalized by insterting proper routes, if you reset it.
This is more distribution specifics:
/etc/init.d/network restart (or stop/start) /etc/init.d/networking restart

Kārlis Repsons wrote / napísal(a):

Quoted 8 lines

While experimenting, I managed to reach a state, where I could not make my network functional again, even if I deleted all rules and routes with ip and did reset firewall.
--
To unsubscribe from this list: send the line "unsubscribe netfilter" in the body of a message to [email protected]
More majordomo info at http://vger.kernel.org/majordomo-info.html

#2 lore raw
In reply to Kārlis Repsons

Check also if you have '1' in /proc/sys/net/ipv4/ip_forward. Default policies of the chains?
You could be more specific. What is 'functional network'? Provide some output of dmesg, various logs, iptables -L -n -v, route -n, etc.

Quoted 8 lines · Kârlis Repsons

While experimenting, I managed to reach a state, where I could not make my network functional again, even if I deleted all rules and routes with ip and did reset firewall.
--
To unsubscribe from this list: send the line "unsubscribe netfilter" in the body of a message to [email protected]
More majordomo info at http://vger.kernel.org/majordomo-info.html