From mboxrd@z Thu Jan 1 00:00:00 1970 From: Marc Milgram Subject: Re: [PATCH v2 2/2] network: add static route support Date: Tue, 06 May 2014 09:08:14 -0400 Message-ID: <5368DEBE.90809@redhat.com> References: <1398678111-13601-1-git-send-email-bhe@redhat.com> <1398678111-13601-2-git-send-email-bhe@redhat.com> <20140505071214.GA24097@dhcp-16-116.nay.redhat.com> Mime-Version: 1.0 Content-Transfer-Encoding: 7bit Return-path: In-Reply-To: <20140505071214.GA24097-je1gSBvt1Tcx0jIIkfS+Ph/sF2h8X+2i0E9HWUfgJXw@public.gmane.org> Sender: initramfs-owner-u79uwXL29TY76Z2rM5mHXA@public.gmane.org List-ID: Content-Type: text/plain; charset="us-ascii"; format="flowed" To: Baoquan He , harald-H+wXaHxf7aLQT0dZR+AlfA@public.gmane.org Cc: initramfs-u79uwXL29TY76Z2rM5mHXA@public.gmane.org On 05/05/2014 03:12 AM, Baoquan He wrote: > User may specify static route for a target address which is different > than default gateway. The static route file could be like below: > > 192.168.200.222 via 192.168.100.222 dev eth0 > > Or > > ADDRESS0=192.168.200.0 > NETMASK0=255.255.255.0 > GATEWAY0=192.168.100.222 > > In this patch, port the static route hanling from ifup-routes of initscript > component. > > v1->v2: > Remove the commentary line checking code and "MATCH" pattern > definition since dracut require posix syntax. Let's focus on the > functionality of static route. > > Signed-off-by: Baoquan He I tested in my environment. It works for me, and fixes the problem. ACK Marc