On Fri Aug 02 2002 at 11:16, Trond Eivind =?iso-8859-1?q?Glomsr=F8d?= wrote: > Tony Nugent <tony@linuxworks.com.au> writes: > > > When redhat said that it was now using /sbin/ip for doing the > > network configuration, I was suprised that ifup-routes was not using > > it too. > > Please file this in bugzilla, against initscripts. Done... bugzilla #70657 http://bugzilla.redhat.com/bugzilla/show_bug.cgi?id=70657 There are two attachments, one is the content of the message I posted to this mailing list yesterday. http://bugzilla.redhat.com/bugzilla/showattachment.cgi?attach_id=68704 > Another thing that needs to be looked at to help complete the > ability to fully configure and preserve routing state, is ip policy > (a-la the "ip policy" command). (I should have said the "ip rule" command). > This could be done in a way very similar to ifup-routes (called > from ifup-post), static-routes (eg /etc/sysconfig/ip-policy), and > "service ip-policy save|load|stop". I've done this already... I > have some really good shell scripts and shell functions that > manipulate the output of "ip policy" to save, load and otherwise > manipulate routing policy states (which isn't always easy to do). > If there is interest, I'll be happy to dig these up and post them > here. The other attachment is a small collection of useful bash functions for manipulating routes, ip addresses, and policy routing (ip rules). One function turns the output of "ip rules" into a format that can be used directly for re-creating the same set of rules (and also for flushing clean the policy table). http://bugzilla.redhat.com/bugzilla/showattachment.cgi?attach_id=68706 > Trond Eivind Glomsrød > Red Hat, Inc. Cheers Tony ---*#*=-=*#*=-=*#*=-=*#*=-=*#*=-=*#*=--- Tony Nugent <Tony@linuxworks.com.au> LinuxWorks - Gold Coast Qld Australia _______________________________________________ Redhat-devel-list mailing list Redhat-devel-list@redhat.com https://listman.redhat.com/mailman/listinfo/redhat-devel-list