I think this is what Hank is talking about. SOL connects at port 623,
but it may communicate over a different port later in the session.
However, ipmitool doesn't support communication over any port other than
623. So if SOL works for you w/o port forwarding, then this isn't your
issue.
Al
On Fri, 2011-12-30 at 04:27 -0800, Martin Hamant wrote:
> Hi Hank,
>
> Thanks for you reply, but I'm still not sure we speak about the same
> thing :/
>
> I also have discovered in ipmi_sol.c / ipmitool :
>
> (...)
> /* NOTE: the spec does allow for SOL traffic to be sent on
> * a different port. we do not yet support that feature. */
> if (intf->session->sol_data.port != intf->session->port)
> {
> /* try byteswapping port in case BMC sent it incorrectly */
> uint16_t portswap = BSWAP_16(intf->session->sol_data.port);
>
> if (portswap == intf->session->port) {
> intf->session->sol_data.port = portswap;
> }
> else {
> lprintf(LOG_ERR, "Error: BMC requests SOL session on
> different port");
> return -1;
> }
> }
> (...)
>
> the comment seems to explains why I get this message...
>
> Le 30/12/2011 13:12, Hank Bruning a écrit :
> > The RMCP server can use any UDP port it wants to for a SOL session.
> > Some implementations use port 623. If you have more than two SOL
> > sessions open on a single RMCP server at least one will be on a port
> > other than 623. Each of the SOL sessions may be encrypted
> > differently using separate cipher suites(or none at all).
> > Hank
> > JBlade
> >
> > On Fri, Dec 30, 2011 at 6:34 AM, Martin Hamant <[email protected]>
> > wrote:
> > Hi !!!
> >
> > I have a BMC configured with a local IP adress (192.168.X.X)
> > listening
> > on default port (623).
> >
> > I want to access it from the outside world. For that I have
> > set a port
> > forwarding rules on the router to the port 623 of this local
> > IP.
> >
> > every ipmitool commands works well BUT not SOL.
> >
> > # ipmitool -I lanplus -p (external_port) -U (...) -P (...)
> > -H (external
> > IP) sol activate
> >
> > I get the message: "Error: BMC requests SOL session on
> > different port"
> >
> > I'm not sure to understand exactly what it means ? What I
> > need to do to
> > make this work ?
> >
> > Thanks !!
> >
> >
> > ------------------------------------------------------------------------------
> > Ridiculously easy VDI. With Citrix VDI-in-a-Box, you don't
> > need a complex
> > infrastructure or vast IT resources to deliver seamless,
> > secure access to
> > virtual desktops. With this all-in-one solution, easily
> > deploy virtual
> > desktops for less than the cost of PCs and save 60% on VDI
> > infrastructure
> > costs. Try it free! http://p.sf.net/sfu/Citrix-VDIinabox
> > _______________________________________________
> > Ipmitool-devel mailing list
> > [email protected]
> > https://lists.sourceforge.net/lists/listinfo/ipmitool-devel
> >
--
Albert Chu
[email protected]
Computer Scientist
High Performance Systems Division
Lawrence Livermore National Laboratory
------------------------------------------------------------------------------
Ridiculously easy VDI. With Citrix VDI-in-a-Box, you don't need a complex
infrastructure or vast IT resources to deliver seamless, secure access to
virtual desktops. With this all-in-one solution, easily deploy virtual
desktops for less than the cost of PCs and save 60% on VDI infrastructure
costs. Try it free! http://p.sf.net/sfu/Citrix-VDIinabox
_______________________________________________
Ipmitool-devel mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/ipmitool-devel