Forum Discussion

Kai2209's avatar
Kai2209
Level 4
8 years ago
Solved

Network Issues on a new 5240

Hi,

i am trying to setup our new appliance 5240 model. First i was configuring the IPMI Interace with an adress of our server LAN 10.64.2.x. I was able to https and happy. Later the day i configured eth0 with a IP of the same network 10.64.2.y. I was able to ssh and https. But after doing this i was no longer able to reach the IPMI Interface via https but ssh. Is this by design?

Then i removed the connectivity from eth0 and decided to to configure eth6 and eth7 (10Gb) as a bond and plan to use vlan tagging for two networks. 10.64.2.x is our server LAN and 10.64.8.x our backup LAN. So i did following. First unconfigured all interfaced to have a clean network then...

Create the bond
     nb-appliance.Network> Linkaggregation Create eth6 eth7 802.3ad
Tag a VLAN
      nb-appliance.Network> VLAN Tag 701 bond0 10.64.2.12 255.255.254.0
      nb-appliance.Network> VLAN Tag 703 bond0 10.64.8.5 255.255.252.0

 

Configuration was done without any error but i was not able to ping. So i want to change the gateway and did..
    nb-appliance.Network> Gateway Add 10.64.2.1 10.64.2.1 255.255.254.0 vlan701
    nb-appliance.Network> Gateway Add 10.64.8.5 10.64.8.1 255.255.252.0 vlan703

But now i have two routes for each vlan and still not working...?!?

Can somebody she a little light into this. Network should be configured correctly...i hope

thanks

Kai

 

  • Kai2209's avatar
    Kai2209
    8 years ago

    thanks Andrew the CLISH is really required getting used to. And the documentation is sometines not correct. For example the configure command needs a gateway to work but in some documents the show the command without any gateway...

    Despite i fixed or better the network guys fixed it. So it was a problem due to 802.3ad and Nexus switches :(

    Thanks again for all replies!

  • ok i did the whole configuration again but shlightly different. I tagged just the VLAN to bond0 and configured in an later step the IP address with a gateway. 

    Create the bond
         nb-appliance.Network> Linkaggregation Create eth6 eth7 802.3ad
    Tag a VLAN
          nb-appliance.Network> VLAN Tag 701 bond0
          nb-appliance.Network> VLAN Tag 703 bond0
    Configure the VLAN with an IP
          nb-appliance.Network> Configure 10.64.2.12 255.255.254.0 10.64.2.1 vlan701
          nb-appliance.Network> Configure 10.64.8.5 255.255.252.0 10.64.8.1 vlan703
     
    Now i can reach both gateways but i am still wondering why there is no gateway for the appropriate ip address. It is using just the last config step as a default gateway !?!?
     
    I am expecting someting like...
    Destination               Gateway           Genmask                 Iface
    10.64.2.0                  10.64.2.1          255.255.254.0          vlan701
    10.64.8.0                   10.64.2.1.        255.255.252.0          vlan703
     
    but now i have...
    Destination               Gateway           Genmask                 Iface
    10.64.2.0                  0.0.0.0              255.255.254.0          vlan701
    10.64.8.0                  0.0.0.0              255.255.252.0          vlan703
    0.0.0.0                      10.64.8.1          255.255.254.0          vlan703 
     
    Somebody any ideas?
     
    thanks
    Kai

     

    • RiaanBadenhorst's avatar
      RiaanBadenhorst
      Level 6
      Destination               Gateway           Genmask                 Iface
      10.64.2.0                  0.0.0.0              255.255.254.0          vlan701
      10.64.8.0                  0.0.0.0              255.255.252.0          vlan703
      0.0.0.0                      10.64.8.1          255.255.254.0          vlan703 
       
      First entry says, if you want to get to 10.64.2.0 network, go out via interface vlan701
      Second entry says, if you want to get to 10.64.8.0 network, go out via interface vlan703
      Last entry says, if you want to anywhere else, go via vlan703
       
      The gateways you put don't show in the first two networks as the route shown is local, so gateway is not required to get there.
    • josef_honc1's avatar
      josef_honc1
      Level 3

      Hello Kai,

      The parameter for gateway in Network - Configure command is actually default gateway, so in first command you set default gatway to 10.64.2.1 and with second command you've overwritten that to 10.64.8.1

      Gateway 0.0.0.0 means that the network is localy connected.  There should be only one default gateway to other subnets. So your last configuration is correct.

      Josef

      • Kai2209's avatar
        Kai2209
        Level 4

        first thanks for your helpful replies...

        i was not aware that the gateway in Network - Configure command just sets the default gateway. This helps to understand.

        But unfortunately i cannot ping any other host from my appliance except the default gateway for both subnets (10.64.2.1 and 10.64.8.1) I am somehow lost now :smileysad: