From: Harald Hoyer <harald-H+wXaHxf7aLQT0dZR+AlfA@public.gmane.org>
To: Baoquan He <bhe-H+wXaHxf7aLQT0dZR+AlfA@public.gmane.org>
Cc: initramfs-u79uwXL29TY76Z2rM5mHXA@public.gmane.org,
dyoung-H+wXaHxf7aLQT0dZR+AlfA@public.gmane.org,
vgoyal-H+wXaHxf7aLQT0dZR+AlfA@public.gmane.org,
mmilgram-H+wXaHxf7aLQT0dZR+AlfA@public.gmane.org
Subject: Re: [Patch v2] network: add static route support
Date: Fri, 27 Jun 2014 13:24:35 +0200 [thread overview]
Message-ID: <53AD5473.3020707@redhat.com> (raw)
In-Reply-To: <20140627103335.GA12159-je1gSBvt1Tcx0jIIkfS+Ph/sF2h8X+2i0E9HWUfgJXw@public.gmane.org>
On 27.06.2014 12:33, Baoquan He wrote:> On 06/27/14 at 10:57am, Harald Hoyer wrote:
>>
>> "_" or ":" as a seperator??? code and documentation seem to differ
>
> Sorry, I tried to keep consitent with other parameter which use
> semicolon as separator when add parameter description, then I realized
> what you suggested using underscore is more meaningful because of ipv6.
> So here forgot changing the example.
>
>>
>> Can we restrict this to network gateway dev ?
>
> I think it cann't be. This special case is raised by Marc, the scenario
> is in kdump kernel below 3 services need be done and go through
> different NIC. Though default gateway is setup for one NIC, other
> service need route to direct.
>
> 1)NFS or SSH or iscsi host
> 2)cluster heartbeat host
> 3)DNS resolver
huh? Isn't a network with mask 32 a host route. So, I think network/gateway/dev
should be enough.
rd.route=192.168.100.222/32_192.168.1.1_ens10
>
>>
>> On 27.06.2014 10:08, Baoquan He wrote:
>>> User may specify static route for a target address which is different
>>> than default gateway, hence static route need be added.
>>>
>>> Now add a cmdline parameter rd.route="" and the related operation to
>>> parse it. User can add static route by specify it in cmdline like:
>>>
>>> rd.route="192.168.200.0/24:via:192.168.100.222:dev:ens10"
>
> Here should be:
>
> rd.route="192.168.200.0/24_via_192.168.100.222_dev_ens10"
>
in theory we could also use ":" and for IPv6 require [] to be consistent.
rd.route=192.168.100.222/32:192.168.1.1:ens10
rd.route=[2001:DB7::]:[2001:DB8::1]:ens10
next prev parent reply other threads:[~2014-06-27 11:24 UTC|newest]
Thread overview: 7+ messages / expand[flat|nested] mbox.gz Atom feed top
2014-06-27 8:08 [Patch v2] network: add static route support Baoquan He
[not found] ` <1403856480-13745-1-git-send-email-bhe-H+wXaHxf7aLQT0dZR+AlfA@public.gmane.org>
2014-06-27 8:34 ` Baoquan He
2014-06-27 8:57 ` Harald Hoyer
[not found] ` <53AD3206.2020601-H+wXaHxf7aLQT0dZR+AlfA@public.gmane.org>
2014-06-27 10:33 ` Baoquan He
[not found] ` <20140627103335.GA12159-je1gSBvt1Tcx0jIIkfS+Ph/sF2h8X+2i0E9HWUfgJXw@public.gmane.org>
2014-06-27 11:24 ` Harald Hoyer [this message]
[not found] ` <53AD5473.3020707-H+wXaHxf7aLQT0dZR+AlfA@public.gmane.org>
2014-06-27 12:31 ` Baoquan He
2014-06-27 14:23 ` Baoquan He
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=53AD5473.3020707@redhat.com \
--to=harald-h+wxahxf7alqt0dzr+alfa@public.gmane.org \
--cc=bhe-H+wXaHxf7aLQT0dZR+AlfA@public.gmane.org \
--cc=dyoung-H+wXaHxf7aLQT0dZR+AlfA@public.gmane.org \
--cc=initramfs-u79uwXL29TY76Z2rM5mHXA@public.gmane.org \
--cc=mmilgram-H+wXaHxf7aLQT0dZR+AlfA@public.gmane.org \
--cc=vgoyal-H+wXaHxf7aLQT0dZR+AlfA@public.gmane.org \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.