Skip to content

Networking  #8

Description

@easydaniel

I wonder how do we add interfaces or how do we modify biscuit to let it be able to connect to the internet. When I tried the command lnc to connect to my custom host outside QEMU, it has the message saying no route to host. After I dig into the kernel, I noticed that it only has 127.0.0.1 and a magic ip and gateway defined in src/ixgbe/ixgbe.go as follow:

// 18.26.5.49 (bhw)
me := Ip4_t(0x121a0531)
x.ip = me
bnet.Nic_insert(me, x)

netmask := Ip4_t(0xfffffe00)
// 18.26.5.1
gw := Ip4_t(0x121a0401)

I wonder if I am correct that this is the place where biscuit setup its network interface and how the ip and gateway is selected. In addition, how we should configure to make biscuit able to connect to hosts outside QEMU. Also, does biscuit provide ping and ICMP packet processing? Thanks.

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Fields

    No fields configured for issues without a type.

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions