I emulate BMC-ast2400 using QEMU. All is working, but I have one problem: if I want to work, using web-interface, I have to regularly send (every booting) these commands:
ifconfig eth0 10.0.2.15
ifconfig eth0 netmask 255.255.255.0
ifconfig eth0 broadcast 10.0.2.255
ifconfig eth0 up
ip route add 0.0.0.0/0.0.0.0 via 10.0.2.2
And…i’m too lazy to do this…so…often.
I tried to edit configuration file..but…sure…I did some mistakes…maybe it’s a wrong file, or parameters…
/etc/network # cat netconfig0
#version-1.00
INTERFACE0=1
DHCPv6EN0=0
AUTOCONF0=1
DEVICE0="eth0"
IPV6ADDRLIST0=""
SROUTESRC0=2
SROUTE1ADDR0="10.0.2.15"
SROUTE1MAC0="4A:0A:AB:7C:96:2F"
SROUTE1PLEN0=255
SROUTE1PVAL0="10.0.2.255"
SROUTE2ADDR0="::"
SROUTE2MAC0="00:00:00:00:00:00"
SROUTE2PLEN0=255
SROUTE2PVAL0="::"
If you know – help me, please, or say, what I have to learn. It’s not a difficult or serious task…but it shall be more usable..I think..
Alex Povarski is a new contributor to this site. Take care in asking for clarification, commenting, and answering.
Check out our Code of Conduct.