I have a Chelsio T520-CR managed by the if_cxgbe module and the interfaces recognized as cxl.
This card has two ports in one of them I have a SFP module which I want to access to manage it, this module can be accessed through HTTP or Telnet.
The default address of this module is 192.168.1.1 mask 255.255.255.0, I assign it like this:
Getting the following in my adapter and route table:
But that's not right, when I want to access 192.168.1.1 to my SFP module I'm actually accessing lo0, when I listen to a port and scan with nmap I'm not accessing the module.
I don't understand, okay I have the cxl1 interface but in that interface I have the SFP module, do I understand that the cxl1 interface has to be assigned the address 192.168.1.1 which is the address of the module? How could I solve this?
Thanks.
This card has two ports in one of them I have a SFP module which I want to access to manage it, this module can be accessed through HTTP or Telnet.
The default address of this module is 192.168.1.1 mask 255.255.255.0, I assign it like this:
ifconfig cxl1 inet 192.168.1.1 netmask 255.255.255.0 192.168.1.255
Getting the following in my adapter and route table:
Code:
cxl1: flags=8843<UP,BROADCAST,RUNNING,SIMPLEX,MULTICAST> metric 0 mtu 1500
options=6ec07bb<RXCSUM,TXCSUM,VLAN_MTU,VLAN_HWTAGGING,JUMBO_MTU,VLAN_HWCSUM,TSO4,TSO6,LRO,VLAN_HWTSO,LINKSTATE,RXCSUM_IPV6,TXCSUM_IPV6,HWRXTSTMP,NOMAP>
ether 00:07:43:53:a2:06
inet 192.168.1.1 netmask 0xffffff00 broadcast 192.168.1.255
media: Ethernet none
status: no carrier
nd6 options=29<PERFORMNUD,IFDISABLED,AUTO_LINKLOCAL>
Code:
Routing tables
Internet:
Destination Gateway Flags Netif Expire
127.0.0.1 link#3 UH lo0
192.168.1.0/24 link#5 U cxl1
192.168.1.1 link#5 UHS lo0
But that's not right, when I want to access 192.168.1.1 to my SFP module I'm actually accessing lo0, when I listen to a port and scan with nmap I'm not accessing the module.
I don't understand, okay I have the cxl1 interface but in that interface I have the SFP module, do I understand that the cxl1 interface has to be assigned the address 192.168.1.1 which is the address of the module? How could I solve this?
Thanks.