This discussion has been locked.
You can no longer post new replies to this discussion. If you have a question you can start a new discussion

Initial Astaro NIC configuration

Hi. Out of the box, Astaro's eth0 is set to 192.168.0.1, similar to many off-the-shelf routers like Linksys, Netgear, etc.  The problem is that to connect to it initially, you have to have something else on that same network. When we're talking physical boxes, it's easy to plug a PC into the router and do that quickly.

Astaro, being the much more sophisticated software gateway, means that it will be deployed in scenarios where you don't have physical access. So it is actually much more difficult sometimes to have someone else on that same network, and at the same time, not have anything already using the IP address. Chances are that if you are on some network, you already have some router with that IP.

If we're talking being in a vmware cloud, it means you actually have to create a Windows or Linux server in the same VLAN, assign the IP, use the GUI to get into the web GUI of the Astaro, set the initial internet and network settings, and then throw away your useless VM on that bogus VLAN. This sadly is the supported method.

When I started with Astaro, I got into the Console and logged in and used "ifconfig eth0 ******"  to change the NIC to the IP address I need so that another server already in my cloud can access it. I was shocked to find out that's not supported.

To be even better, I would like to set the eth1 NIC with ifconfig but I also need to set its default gateway so that I can access the router right away through the internet, rather than from another VM in its VLAN. But I don't know how to get that working in Astaro and I don't know how it's set. I know how to do it in Linux using ip route or route commands, but with Astaro it's not working.  Anyone have any ideas?

Now as a feature request that I'll submit, it would be really cool, and seems really easy if at the home screen on the Astaro there is an option to view/configure the initial network. There is already a nice looking Astaro screen that says "F2 for details" letting you log in. Why not like "F3 to configure network"?  And allow for some scripted interface to do this very basic thing that only has to happen initially.

Doing it this way, saves tons of time and pain by finding a way to get into the damn thing in a throw-away fashion.

Luckily in the Amazon Astaro AMI, Amazon configures the IP for the device so it already knows and works.
Another option maybe could be to implement the vmware tools so that a vmware cloud can set the NIC on the Astaro. But that would be a lot more work than my proposed idea.


This thread was automatically locked due to age.
Parents
  • Hi, you can normally configure one NIC during installation. Are you using VMWare images?

    eth0 and eth1 are just names/numbers... You can set up your network however you want.

    Barry
  • Yes.. err.. actually ESX but it's the OVF that I upload to a vmware cloud and it ends up with the 3 NIC's.

    The problem with just configuring 1 NIC is that it seems to only allow local access. In the Astaro GUI, eth0 is the LAN and only accessible from some local servers. In the web GUI internet connection set up, it's configuring eth1. I know it doesn't matter under the hood, but it seems there is some code in Astaro that's assuming it is this way, unless you change it after.

    Now regardless of which eth device, the point of configuring the internet facing one is to allow me to access it through the internet. [:)]  

    Putting that aside, however, I have tried configuring just eth0 also to have internet access at the console and still it does not work which is the main thing I'm trying to achieve. So that I don't have to spin up another server on the VLAN just to connect with it one time.
Reply
  • Yes.. err.. actually ESX but it's the OVF that I upload to a vmware cloud and it ends up with the 3 NIC's.

    The problem with just configuring 1 NIC is that it seems to only allow local access. In the Astaro GUI, eth0 is the LAN and only accessible from some local servers. In the web GUI internet connection set up, it's configuring eth1. I know it doesn't matter under the hood, but it seems there is some code in Astaro that's assuming it is this way, unless you change it after.

    Now regardless of which eth device, the point of configuring the internet facing one is to allow me to access it through the internet. [:)]  

    Putting that aside, however, I have tried configuring just eth0 also to have internet access at the console and still it does not work which is the main thing I'm trying to achieve. So that I don't have to spin up another server on the VLAN just to connect with it one time.
Children
No Data