From: Keefe Liu
When master device's mac has been changed, the commit
32c10bbfe914 ("ipvlan: always use the current L2 addr of the
master") makes the IPVlan devices's mac changed also, but it
doesn't do related works such as flush the IPVlan devices's
arp table.
Signed-off-by: Keefe Liu
---
dr
From: Keefe Liu
When master device's mac has been changed, the
commit <32c10bbfe914> "ipvlan: always use the current L2
addr of the master" makes the IPVlan devices's mac changed
also, but it doesn't flush the IPVlan's arp table.
Signed-off-by: Keefe Liu
---
drivers/net/ipvlan/ipvlan_main.c |
Hi,
>
> Hi,
>
> On Sat, 2018-05-12 at 19:00 +0800, liuq...@huawei.com wrote:
> > From: Keefe Liu
> >
> > When master device's mac has been changed, the commit <32c10bbfe914>
> > "ipvlan: always use the current L2 addr of the master" makes the
> > IPVlan devices's mac changed also, but it doesn't
From: Keefe Liu
When master device's mac has been changed, the
commit <32c10bbfe914> "ipvlan: always use the current L2
addr of the master" makes the IPVlan devices's mac changed
also, but it doesn't flush the IPVlan's arp table.
Signed-off-by: Keefe Liu
---
drivers/net/ipvlan/ipvlan_main.c |
From: Keefe Liu
The MTU of ipvlan interface should not bigger than the phy device, When we
run following scripts, we will find there are some problems.
Step1:
ip link add link eth0 name ipv1 type ipvlan mode l2
ip netns add net1
ip link set dev ipv1 netns net1
Step2:
gt; + .ndo_change_mtu = ipvlan_change_mtu,
> > .ndo_fix_features = ipvlan_fix_features,
> > .ndo_change_rx_flags= ipvlan_change_rx_flags,
> > .ndo_set_rx_mode= ipvlan_set_multicast_mac_filter,
> > @@ -680,6 +692,8 @@ void
From: Keefe Liu
The MTU of ipvlan interface should not bigger than the phy device, When we
run following scripts, we will find there are some problems.
Step1:
ip link add link eth0 name ipv1 type ipvlan mode l2
ip netns add net1
ip link set dev ipv1 netns net1
Step2:
That's a good question.
Recently, I am researching how to use ipvlan, I found when using L3 mode, the
packet from
the ipvlan slave interface can only get out from the phy device which the slave
interface attached,
and I found this is assigning the flowi4's output device result, so I tried to
don
From: Keefe Liu
When process the outbound packet of ipv6, we should assign the master
device to output device other than input device.
Signed-off-by: Keefe Liu
---
drivers/net/ipvlan/ipvlan_core.c | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/drivers/net/ipvlan/ipvlan_cor