netdev.vger.kernel.org archive mirror
 help / color / mirror / Atom feed
* Unable to create ip alias on bridge interface
@ 2018-05-28  9:05 Akshat Kakkar
  2018-05-28 12:05 ` Michal Kubecek
  0 siblings, 1 reply; 7+ messages in thread
From: Akshat Kakkar @ 2018-05-28  9:05 UTC (permalink / raw)
  To: netdev

I am having a bridge named br0 having ports eno1 and eno2 as members.
I have given IP to br0 as 10.10.10.1/24

Now I want to create alias on br0 as br0:1 and give IP as
10.10.10.2/24, but I am unable to.

I know, we can add multiple IPs to br0 using "ip addr" command, but I
dont want to do it that way as I want all outgoing connections from
br0 to take src ip as 10.10.10.1. I know by providing option of "src"
in all routes, things can work but this looks more like a hack and
less of a solution.

Coming back to my original issue, I keep getting error "add bridge
failed: Invalid argument".

So, whats the best way out?

^ permalink raw reply	[flat|nested] 7+ messages in thread

end of thread, other threads:[~2018-05-29 10:41 UTC | newest]

Thread overview: 7+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2018-05-28  9:05 Unable to create ip alias on bridge interface Akshat Kakkar
2018-05-28 12:05 ` Michal Kubecek
2018-05-28 18:20   ` Akshat Kakkar
2018-05-29  9:32     ` Michal Kubecek
2018-05-29 10:09     ` Akshat Kakkar
2018-05-29 10:29       ` Michal Kubecek
2018-05-29 10:41         ` Akshat Kakkar

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).