New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Using a SwitchNode LOCAL port to act as a host #259
Comments
If this is not a bug report, can you please close it? |
Okay, is there somewhere I can ask questions? |
Is this some kind of trick question? |
Yes the mailing list I did see that. Two things, 1990's mailing lists aren't very user friendly (Google Groups helps) and this particular question seemed like a bug to me, though I could be wrong. I was hoping to get a "Mininet is supposed to handle OVS LOCAL ports, so that should work" or "You need to use such and such Mininet API instead of shell commands". |
@jpillora Heheheh, I think you mean 1980s, and what could be more friendly than e-mail/mailman? It works on every platform, has a stable format, provides digests, is automatically archived, and is indexed by google. It also reduces friction since openflow, openvswitch, and pox all run on mailing lists. Some of us like mailing lists for these and other reasons (and we've experienced the horrible bloodbaths that can occur with on-line q&a systems like piazza, which is actually fairly well-designed by the way) but we will consider google groups and/or mailman's forum upgrade in the future since they may help to avoid repeated questions and very few people seem to read or add to the FAQ. The local port should work fine if you bring it up. It is perhaps an issue that it is not up by default, but it would be incorrect to put the remote side (e.g. interface |
Before my time :P True, google groups would be great upgrade. Though an alternative is to conduct and track all project communications through tagged Github issues (Question, Bug, Feature Request, etc). You can subscribe and unsubscribe to individual threads, use issues to construct a roadmap, @lantz at-mention other users, issues for the code are found along-side the code, quote text, hash-mention #259 other issues, you can use awesome Markdown down emphasise your important points, you can use # code blocks
def withFancy(colors):
return "!" Anyway! Each to their own 😄 (and don't forget Emojis). Thanks for your reply to my post on the mailing list.
I'll just tried it and that indeed works.
The counters are increasing, that means they're working right?
Do you mean the links?
I'm installing L2 flows correctly and the ping have the correct L2 headers
I've manually inserted ARP entries, so I don't need any broadcast flows. It seems to me like these are all correct as (I did think that the
Interesting, so |
It could be a MAC address issue, I'm just looking into it now... |
Just updated the script to use the interface MAC addresses as they are and I'm still getting the same issue >.< |
What does ARP have to do with IP routing tables? :( We've thought about your issue suggestion before, but it would require some refinement since github doesn't have a means of automatically classifying issues without admin intervention, inconveniently enough (but I do love single sign-on and other github advantages.) I do dig markdown though - sadly most e-mail clients only speak html or the github email integration would be groovy. |
Ah yes, so I've filled the ARP tables though not the IP tables, nevertheless, if the packet is arriving with the correct L2 L3 headers, what could be stopping it from hitting the networking stack? Does it need an ip route to itself (ip set on the interface not enough)? Well +1 from for using Github :) |
If it's an IP packet, it needs an IP route. On Jan 9, 2014, at 6:55 PM, Jaime Pillora notifications@github.com wrote:
|
Okay will give it a try On Friday, January 10, 2014, Bob wrote:
|
Worked around this issue by creating extra hosts and treating these new ports as LOCAL ports, then run the what we need to in each host. |
I'm attempting to implement an in-band controller using the LOCAL port of a Mininet switch, and I've manually given two switches LOCAL interfaces (
s1
ands2
) IP addresses (withifconfig
), manually added the ARP entries (witharp -s
) and created the flows but it seems the packets arriving on the LOCAL port aren't arriving at networking stack.So, I ping,
s1 -> s2
(withping -I s1 <s2-ip-addr>
), the flow counters increase for thes1 -> s1(port1)
and thes2(port1) -> s2
flows. But it doesn't look like its making it from thes2
interface to linux.I know this works with Mininet hosts (so, not using the LOCAL port). Am I missing anything important about Mininet SwitchNodes or the LOCAL port here?
I'll make proof of concept script when I have some time tonight
The text was updated successfully, but these errors were encountered: