Page 1 of 1

help with configuring ipfire router through virtual box

Posted: 1. Jan 2013, 23:08
by the original stinger
Hey,

What's the reason I can't ping anything behind my ipfire router from the commandline.
I can ping my green and orange interface but I can't ping google for example.
IPfire is running on a virtual machine that's a laptop. I have a red, orange and green zone.

This are my settings:

Green 10.0.0.1
Subnetmask 255.128.0.0

Orange 172.16.0.1
Subnetmask 255.255.0.0

RED DHCP

DHCP: DNS 10.0.1.1
Start 10.0.1.10
END 10.0.1.90

and happy new year!

My Red is DHCP and has this ip: 169.254.215.99 subnetmask 255.255.0.0 It's a virtual box Netwerk Bridge Adapter...

I have set up a network bridge adapter in virtual box and i'm not working wireless,
I have a cable these are the nics I can choose:

- Dell Wireless 1397 WLAN Mini Card
- Realtek PCIe GBE Familly Controller (I guess this is the nic I need)
- Microsoft Virtual WIFI mini port adapter

Re: help with configuring ipfire router through virtual box

Posted: 2. Jan 2013, 00:13
by noteirak
the original stinger wrote:My Red is DHCP and has this ip: 169.254.215.99 subnetmask 255.255.0.0
Your issue is here, you are not getting an IP from your DHCP

Re: help with configuring ipfire router through virtual box

Posted: 2. Jan 2013, 01:10
by the original stinger
And how can I solve this problem?

Re: help with configuring ipfire router through virtual box

Posted: 2. Jan 2013, 01:15
by noteirak
You will need to configure your network and/or your DHCP properly so it works. Might also be your ifpire box...

Re: help with configuring ipfire router through virtual box

Posted: 2. Jan 2013, 01:29
by the original stinger
Ok, but I realy don't see what's wrong. On my host I can access the web (windows 7 64 bit) everything works fine.
On the ipfire all should be fine to see above information, this is the DHCP info on my ipfire:

DNS 10.0.1.1 (I just made that one up, or should I use a free dns like 8.8.8.8)
End 10.0.1.90
Start 10.0.1.10

this is the info on my windows 7 host:


Ethernet-adapter voor LAN-verbinding:

Verbindingsspec. DNS-achtervoegsel: lan_dn
Beschrijving. . . . . . . . . . . : Realtek PCIe GBE Fa
Fysiek adres. . . . . . . . . . . : F0-4D-A2-41-01-11
DHCP ingeschakeld . . . . . . . . : ja
Autom. configuratie ingeschakeld : ja
Link-local IPv6-adres . . . . . . : fe80::fcee:d251:137
IPv4-adres. . . . . . . . . . . . : 192.168.0.212(voork
Subnetmasker. . . . . . . . . . . : 255.255.255.0
Lease verkregen . . . . . . . . . : dinsdag 1 januari 2
Lease verlopen. . . . . . . . . . : woensdag 2 januari
Standaardgateway. . . . . . . . . : 192.168.0.1
DHCP-server . . . . . . . . . . . : 192.168.0.1
DHCPv6 IAID . . . . . . . . . . . : 250629538
DHCPv6-client DUID. . . . . . . . : 00-01-00-01-13-F4-9

DNS-servers . . . . . . . . . . . : 195.130.130.5
195.130.131.5
NetBIOS via TCPIP . . . . . . . . : ingeschakeld

Ethernet-adapter voor VirtualBox Host-Only Network #2:

Verbindingsspec. DNS-achtervoegsel:
Beschrijving. . . . . . . . . . . : VirtualBox Host-Onl
Fysiek adres. . . . . . . . . . . : 08-00-27-00-88-0B
DHCP ingeschakeld . . . . . . . . : nee
Autom. configuratie ingeschakeld : ja
Link-local IPv6-adres . . . . . . : fe80::b040:a4e2:bb1
IPv4-adres. . . . . . . . . . . . : 192.168.137.1(voork
Subnetmasker. . . . . . . . . . . : 255.255.255.0
Standaardgateway. . . . . . . . . :
DHCPv6 IAID . . . . . . . . . . . : 587726887
DHCPv6-client DUID. . . . . . . . : 00-01-00-01-13-F4-9

DNS-servers . . . . . . . . . . . : 8.8.8.8
8.8.4.4
NetBIOS via TCPIP . . . . . . . . : ingeschakeld

Re: help with configuring ipfire router through virtual box

Posted: 2. Jan 2013, 01:35
by noteirak
the original stinger wrote:DNS 10.0.1.1 (I just made that one up, or should I use a free dns like 8.8.8.8)
End 10.0.1.90
Start 10.0.1.10
If you configured this in your ipfire VM, this would be the DHCP config for the clients. But the ipfire VM itself will still need a proper IP address. This configuration will not be any different from a real machine.

Re: help with configuring ipfire router through virtual box

Posted: 2. Jan 2013, 02:06
by the original stinger
Ok, but how can I set everything up in the right way? Can you please give me some more guidance on this.

Re: help with configuring ipfire router through virtual box

Posted: 2. Jan 2013, 02:11
by noteirak
I would recomand seeking local support for that - this can get quite complicated, and is not related to Virtualbox.

Re: help with configuring ipfire router through virtual box

Posted: 2. Jan 2013, 02:19
by the original stinger
I really need to find it by myself for a better understanding. Hopefully somebody will be able to explain the steps that have to been done. Thx anyway.

Re: help with configuring ipfire router through virtual box

Posted: 2. Jan 2013, 07:56
by BillG
the original stinger wrote:I really need to find it by myself for a better understanding. Hopefully somebody will be able to explain the steps that have to been done. Thx anyway.
That is fine, but this is not the place to get that help. You have a network problem which is not directly associated with VirtualBox. The fact that you are using VirtualBox does not automatically make any problem you strike a VirtualBox Problem. If you set up the VirtualBox network settings correctly, any other network problems are simply network problems.

In your original post, your router was receiving an APIPA (169.254.0.0/16) address. This usually means that the NIC is configured to get an IP from DHCP but failed. Have you tried manually setting the network config so that it has a valid IP for this network? It should be in the same IP subnet and have the same default gateway as the host machine NIC which gets its config from DHCP.

How you configure ipfire is beyond the scope of this forum.