You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
I want to do something about SRv6, specifically using BMV2 to implement SRv6, but I found that the function net.setIntfIp() cannot set the IPv6 address for host. How should I solve it?
And Here is the output after sudo python3 network:
.......
Topology saved to disk!
Programming switches...
Switches programmed correctly!
Programming hosts...
Traceback (most recent call last):
File "network.py", line 39, in<module>net.startNetwork()
File "/home/ubuntu/p4-tools/p4-utils/p4utils/mininetlib/network_API.py", line 1135, in startNetwork
self.program_hosts()
File "/home/ubuntu/p4-tools/p4-utils/p4utils/mininetlib/network_API.py", line 341, in program_hosts
'{}/{}'.format(intf1.ip, intf1.prefixLen))
File "/usr/lib/python3.6/ipaddress.py", line 119, in ip_interface
address)
ValueError: 'None/24' does not appear to be an IPv4 or IPv6 interface
The text was updated successfully, but these errors were encountered:
@huyongqingandczw Why do you write your question in this git issue thread, I don't think what you are asking has anything to do with the original question. Can you please not do that?
If your question is unrelated to the current thread, I kindly suggest creating a new issue or finding a thread that aligns more closely with your topic.
Hi everyone:
I want to do something about SRv6, specifically using BMV2 to implement SRv6, but I found that the function
net.setIntfIp()
cannot set the IPv6 address for host. How should I solve it?Thank you very much!
here is my code:
And Here is the output after
sudo python3 network
:The text was updated successfully, but these errors were encountered: