You do not have permission to delete messages in this group
Copy link
Report message
Show original message
Either email addresses are anonymous for this group or you need the view member email addresses permission to view the original message
to ns-3-users
Hello,
I want to realise a dhcp-like thing in my simulation, but I don't know how to change the IP address of an interface. I found something like n->GetObject<Ipv4>()->SetAddress(interface_num, address), but I can't find that function in current version of NS3. Could anyone tell me how to change the IP address?
Thanks a lot !!
Best wishes,
Kai
Tommaso Pecorella
unread,
Aug 26, 2016, 6:46:53 PM8/26/16
Reply to author
Sign in to reply to author
Forward
Sign in to forward
Delete
You do not have permission to delete messages in this group
Copy link
Report message
Show original message
Either email addresses are anonymous for this group or you need the view member email addresses permission to view the original message
to ns-3-users
It's in Ipv4L3Protocol and it's documented in the Doxygen manuals: